Comment on GNU grep 2.12 changes behavior of recursion options, breaks existing scriptsparentComments−0x014yHehe, you know what makes the software more complex to use? Having to grep in the output of "grep --version" before deciding which switch to pass to grep.. :)−michaelhoffman14yYou don't need to do that, just always use -R :)−nitrogen14yWe'll get right on inventing that time machine so everyone can go back in time to the introduction of the -r flag and warn themselves ;).−rbanffy14yAnd note that it will make your code more compatible with other, POSIX-compliant, versions of grep.
Comments
Hehe, you know what makes the software more complex to use? Having to grep in the output of "grep --version" before deciding which switch to pass to grep.. :)
You don't need to do that, just always use -R :)
We'll get right on inventing that time machine so everyone can go back in time to the introduction of the -r flag and warn themselves ;).
And note that it will make your code more compatible with other, POSIX-compliant, versions of grep.