Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src
* egrep, fgrep were links This is in violation of GNU standards:
"Please don't make the behavior of a utility depend on the name used
to invoke it. It is useful sometimes to make a link to a utility with
a different name, and that should not change what it does."
For now egrep and fgrep will be copies of grep. A better scheme
should be found later.
After discussion with Tom Tromey <tromey%cygnus.com@localhost>.
well, for many cases, i *expect* a binary to change depending on
it's called named, eg, grep. if i renamed it egrep, i'd expect
it to work as egrep. but now that is broken.
There's even the command-line arguments -E -F and -G to override this,
so you can link to funnygrep and call "funnygrep -E" to get an egrep.
these options (or others like them) have been around for a long time.
you'd think that they'd at least install 2 shell scripts that did the
right thing... mmm, GNU...
Home |
Main Index |
Thread Index |
Old Index