zmore for bzip2?

David Kelly dkelly at hiwaay.net
Fri Aug 29 16:59:45 PDT 2003


On Wed, Aug 27, 2003 at 11:37:47PM -0500, ES top-posted:
> For your bzip2 files, would the following command suffice?
> 
> bzcat <filename> | less

[...]

Yes, of course. But zmore is smart enough to figure out what to do with
several compression techniques, or even to handle non-compressed files
very trivially and without hassle.

I've changed my /etc/newsyslog.conf from J to Z simply so that I could
zmore the files rather than pipe the file or dress up an alias named
bmore or similar.

-- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


More information about the freebsd-questions mailing list