From owner-cvs-all Fri Sep 13 10:26:22 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 675C437B400; Fri, 13 Sep 2002 10:26:09 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD5C743E3B; Fri, 13 Sep 2002 10:26:08 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id g8DHQ8fO042029; Fri, 13 Sep 2002 10:26:08 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.5/Submit) id g8DHQ7hd042016; Fri, 13 Sep 2002 10:26:07 -0700 (PDT) Date: Fri, 13 Sep 2002 10:26:07 -0700 From: "David O'Brien" To: Bruce Evans Cc: Akinori MUSHA , Kris Kennaway , Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc newsyslog.conf Message-ID: <20020913172606.GB41890@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Bruce Evans , Akinori MUSHA , Kris Kennaway , Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <86ofb3c75p.wl@archon.local.idaemons.org> <20020913222322.C9886-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020913222322.C9886-100000@gamplex.bde.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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