On Sun, 31 Aug 2003 [EMAIL PROTECTED] wrote:
> Adapting zmore for the case where you specify the files to display on
> the command line is not problem at all:
>
> > diff kk zmore
> 5,14d4
> < get_decompressor ()
> < {
> < case `file ${1--} | sed "s/[^:]*: *\([^ ]*\).*/\1
Adapting zmore for the case where you specify the files to display on
the command line is not problem at all:
> diff kk zmore
5,14d4
< get_decompressor ()
< {
< case `file ${1--} | sed "s/[^:]*: *\([^ ]*\).*/\1/"` in
< "compress"*) DECOMPRESSOR="uncompress -c";;
David Kelly wrote:
[ ... ]
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.
'zmore' is a simple shell script which calls "gzcat | ${PAGER-more}". One
solution to your p
On Wed, Aug 27, 2003 at 11:37:47PM -0500, ES top-posted:
> For your bzip2 files, would the following command suffice?
>
> bzcat | 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 trivia
For your bzip2 files, would the following command suffice?
bzcat | less
This would be similar to handling a gzipped file with:
zcat | less
...which is essentially what "zmore" does...
-bsdterm
On Wed, Aug 27, 2003 at 11:00:42AM -0500, David Kelly wrote:
> /etc/newsyslog.conf uses J in Free
David Kelly <[EMAIL PROTECTED]> writes:
> /etc/newsyslog.conf uses J in FreeBSD-5.1 to specify bzip2 format for
> compression. zmore(1) doesn't know bzip format, is someone working on
> it?
I doubt it; seems kind of trivial to have a separate program to
implement 'bzcat | more`...
_
/etc/newsyslog.conf uses J in FreeBSD-5.1 to specify bzip2 format for
compression. zmore(1) doesn't know bzip format, is someone working on
it?
--
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at onl