jqdkf@zju.edu.cn wrote:
Hi, I'm just wondering why grep still exists in every distribution of UNIX or UNIX like system. As egrep can support a full featured regular expression, it is much more powerful than grep. Is it only for backport support?
$cat `which egrep` #!/bin/sh exec grep -E ${1+"$@"}
Attachment:
pgp__s49lm0Iw.pgp
Description: PGP signature