zcat broken on Mac OS X: Feature or bug?

Apparently on Mac OS X 10.4.7 (and earlier), the zcat command doesn’t work. zcat is a very useful util to read through gzip-archived system logs and usually works by just typing zcat /path/to/log.gz

However, it appears to be broken on the Mac. For example, this is actual output:

[user@host:~] zcat /var/log/system.log.0.gz
zcat: /var/log/system.log.0.gz.Z: No such file or directory
[user@host:~] zcat -S .gz /var/log/system.log.0.gz
zcat: /var/log/system.log.0.gz.Z: No such file or directory

7 Responses

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.