Skip to content

Comment on GNU grep 2.12 changes behavior of recursion options, breaks existing scripts

Comments

It's funny how one of the relatively few design errors in Unix shells now indirectly comes back to haunt us. Recursing is built into pretty much every command that can handle multiple files - which very strongly suggests it should have been made a feature of glob (or the shell).

I think it's a bit sad that those "big-picture" features in unix are treated as if the were written in stone.

This is one of the great reasons to use zshell. :-)

  grep -in **/*txt "sometext"
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.