GNU grep's new features (Linux.com)
GNU grep's new features (Linux.com)
Posted Jun 5, 2006 9:56 UTC (Mon) by nix (subscriber, #2304)In reply to: GNU grep's new features (Linux.com) by vonbrand
Parent article: GNU grep's new features (Linux.com)
The reasoning is entirely sensible: it is counterintuitive to have a program act differently simply because you mv'ed it to a different name. Among other things, having grep behave differently simply because you called it egrep *bans* you from making egrep a wrapper script, unless there is some other way to get at egrep's behaviour.
POSIX agreed: hence grep -E and grep -F, and the deprecation of look-at-argv[0] programs.
