Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

The worst (well known) offender is grep -v meaning grep --invert-match just for the sheer bafflement of "verbose" now hiding what you were looking for.


That actually comes from ed and vi. The g command would search for a line that matches a given regular expression and run the following command on that line. The v command was the inverse (search for lines that don't match the given regular expression).

The default command was to just print the line. Hence the name grep

g/re/p




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: