LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
Rating: 2 votes, 5.00 average.

Windows PowerSh**

Posted 08-12-2014 at 11:40 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 08-12-2014 at 12:15 PM 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 206 Comments 2 rocket357 is offline

  



All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement

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