Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 17:23:54 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Bill Schoolcraft <runfreebsd@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: how to view .ascii file?
Message-ID:  <20040823142354.GA3605@gothmog.gr>
In-Reply-To: <20040823141605.87571.qmail@web90010.mail.scd.yahoo.com>
References:  <20040823141605.87571.qmail@web90010.mail.scd.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-08-23 07:16, Bill Schoolcraft <runfreebsd@yahoo.com> wrote:
> Hmm,
>
> Would using the command: zcat <filename> work?

If the file isn't really compressed you can always use just less(1) on it:

	% less filename.ascii

If it is compressed (as the docs of /usr/share/doc usually are), I tend
to prefer something from the commands shown below:

	% zmore filename.ascii.gz
	% zcat filename.ascii.gz | less
	% gzip -cd filename.ascii.gz | less

All these are roughly equivalent to each other.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040823142354.GA3605>