Date: Fri, 13 Sep 2002 10:26:07 -0700 From: "David O'Brien" <obrien@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> Cc: Akinori MUSHA <knu@iDaemons.org>, Kris Kennaway <kris@obsecurity.org>, Maxim Sobolev <sobomax@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc newsyslog.conf Message-ID: <20020913172606.GB41890@dragon.nuxi.com> In-Reply-To: <20020913222322.C9886-100000@gamplex.bde.org> References: <86ofb3c75p.wl@archon.local.idaemons.org> <20020913222322.C9886-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 13, 2002 at 11:15:56PM +1000, Bruce Evans wrote: > > I'd note that our zgrep(1) does not support bz2 files nor have we > > something called bzgrep(1). It is a mess that you can't do a grep > > over uncompressed files, gzip'd files and bzip2'd files at once. > > Similarly for "less *". $ echo $LESSOPEN LESSOPEN='|lesspipe.sh %s' $ cat lesspipe.sh #! /bin/sh case "$1" in *.Z) uncompress -c $1 2>/dev/null ;; *.gz) gzip -d -c $1 2>/dev/null ;; *.bz2) bzip2 -d -c $1 2>/dev/null ;; esac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020913172606.GB41890>