Y
Hacker News
new
|
ask
|
show
|
jobs
by
rmc
5083 days ago
Increasing the number of options and switches has downsides, it makes the software more complex to use.
1 comments
0x0
5083 days ago
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.. :)
link
michaelhoffman
5083 days ago
You don't need to do that, just always use -R :)
link
nitrogen
5082 days ago
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 ;).
link
rbanffy
5082 days ago
And note that it will make your code more compatible with other, POSIX-compliant, versions of grep.
link