LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name
Password

Notices

Hi. I'm a Unix Administrator, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: Unix.
Old

Windows PowerSh**

Posted 08-12-2014 at 10:40 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 08-12-2014 at 11:15 AM by rocket357

grep is such a simple concept. You have a stream of text lines, and you look for lines in the output that match a pattern. Really, really simple.

Take the following, for example:

some-command | grep 'pattern'

I know this is difficult to understand because it's overly complex, but that's how things work on *nix.

Try doing that on PowerShell. You end up with something like:

(some-command|out-strings -stream) | select-strings...
Member
Posted in Uncategorized
Views 131 Comments 2 rocket357 is offline

  



All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration