Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: dynamic zcat and grep

by thor (Priest)
on Mar 22, 2006 at 00:33 UTC ( #538361=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: dynamic zcat and grep
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538361]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-05 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls