zcat/gzcat works in linux, not on osx. general linux/osx compatibility

You are right. It’s annoying behavior.

$ zcat foo.txt.gz 
zcat: can't stat: foo.txt.gz (foo.txt.gz.Z): No such file or directory

Try this:

$ zcat < foo.txt.gz 
asdfadsf

Leave a Comment