http://qs321.pair.com?node_id=538361


in reply to Re: dynamic zcat and grep
in thread dynamic zcat and grep

On some systems, gunzip -c and zcat are identical.
thulben@alpha:~ 17 $ md5sum /bin/gzip /bin/zcat /bin/gunzip 57cd8cdf42fbda6e0a1f5e17ac986b4f /bin/gzip 57cd8cdf42fbda6e0a1f5e17ac986b4f /bin/zcat 57cd8cdf42fbda6e0a1f5e17ac986b4f /bin/gunzip
The executable is one of those "magic" ones that recognizes how it was called and alters its behavior appropriately.

thor

The only easy day was yesterday