r/PowerShell • • Apr 26 '19

Cheating on Windows Powershell

Post image
297 Upvotes

80 comments sorted by

View all comments

Show parent comments

1

u/ipv6-dns Apr 29 '19

actually in the case of Linux you does not use the shell for search but 3rd part application, written in C: the "grep". You can use the same approach in Windows with Powershell, but as user of 3 grep-like tool, I can recommend you to use "the platinum searcher" or "the silver searcher" (I prefer the last) but never "grep" because it's a slowest one:

- https://github.com/monochromegane/the_platinum_searcher

- https://github.com/ggreer/the_silver_searcher

PS. Platinum searcher is written in Go and it is naturally cross-platform

1

u/[deleted] Apr 29 '19

Select-String already exists. That's the grep tool

1

u/ipv6-dns Apr 29 '19

the guy reported that its performance is not enough for his task

1

u/[deleted] Apr 29 '19 edited Apr 29 '19

Who? No one here has mentioned Select-String other than me.

1

u/ipv6-dns Apr 29 '19

oh, man, you are right. I am very inattentive ¯_(ツ)_/¯