On Thu, 16 Sep 1999 11:02:48 -0400, Chris Gorman <[EMAIL PROTECTED]> wrote: >I was wondering if grep/fgrep/egrep are meant to be seperate programs >or, hard links to one binary? If I take a long listing of the *ep files >in /bin, they are all 47616 bytes, but they all only have one file >link. Do you know if they are supposed to be one binary, and the >functionality of the grep you use gets determined by the argv[0] value, >or are my binaries messed up?
Similar, but not identical. [EMAIL PROTECTED]:~$ ls !$ -l ls /bin/*grep* -l 48 -rwxr-xr-x 1 root root 47616 Sep 7 20:17 /bin/egrep* 48 -rwxr-xr-x 1 root root 47616 Sep 7 20:17 /bin/fgrep* 48 -rwxr-xr-x 1 root root 47616 Sep 7 20:17 /bin/grep* They're the same size... [EMAIL PROTECTED]:~$ md5sum /bin/*grep* 8e6f9bb0b61626a5dcfc33e8716a67ff /bin/egrep 07e56b8a1a038f8c77a43a4c5926e7d4 /bin/fgrep d5a2cdbfd37db3ab7d69b7ce1ba2a4a7 /bin/grep ....but with obviously different contents. -- I don't speak for Corel, I just work for them. Use [EMAIL PROTECTED] for work, [EMAIL PROTECTED] for play, and [EMAIL PROTECTED] for PGP. PGP fingerprint: 01 94 0F B3 46 B7 71 C3 D4 98 39 99 1B 34 45 A1 PGP public key: http://www.hungrycats.org/~zblaxell/pgp-public.txt