> > The cost of egrep and fgrep is just two symbolic links.
> A cost that needs to be paid every time you invoke them (a double lookup in the filesystem). Just use a regular link.
I'm having a bit of trouble understanding the outrage. Can't all egrep/fgrep in all scripts be fixed once in one or two commands and remain fixed?
$ sed -i 's/fgrep/grep\ -F/' *.sh
(or something)
I see it as getting accustomed to bells and whistles on some modern shell (like tab completion on zsh and others), then having to use a shell on another system without them (some ragged old korn) and getting tripped up... and the ultimate solution is to be conscious that these things don't work everywhere, so don't be too reliant on them.