4 ms·
They all have something wrong with them. Grep is broken(so old there is no recursive option, or there is one but doesnt work) at least in MSYS, MINGW and Cygwin
by rasz_pl 11y ago
They all have something wrong with them. Grep is broken(so old there is no recursive option, or there is one but doesnt work) at least in MSYS, MINGW and Cygwin.
- scw 11y agoNot a direct answer, but I use the Windows port of The Silver Searcher (ag) and it works well: http://blog.kowalczyk.info/software/the-silver-searcher-for-windows.html http://blog.kowalczyk.info/software/the-silver-searcher-for-...
- Too 11y agoWindows has this built in, it's called findstr, probably some gaps in the feature set compared to ag but it's quite capable.
- barrkel 11y agoRecursive grep works fine in Cygwin. I use Cygwin as my main interface on Windows, while my work machine is Linux. I've been using Linux since 96. There is very little functional difference between terminal-based userland on Cygwin and Linux, with the sole exception of speed; Cygwin syscalls are slow, and forking is to be avoided in shell scripts where possible. Cygwin is a better Unix than OOTB OSX owing to not being stuck on GPL 2.
- cema 11y agogrep is working fine in msys/mingw, and has been for many years. I do not remember if I have ever seen it not having the recursive option there. It has been working for my in Cygwin, too. As well as many other utilities ported from unix to Windows.