Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2005 09:47:02 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/less Makefile zless.sh
Message-ID:  <20050518164702.GB56326@dragon.NUXI.org>
In-Reply-To: <200505171114.j4HBEBQ7005021@repoman.freebsd.org>
References:  <200505171114.j4HBEBQ7005021@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 17, 2005 at 11:14:11AM +0000, Dag-Erling Smorgrav wrote:
> des         2005-05-17 11:14:11 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.bin/less         Makefile 
>   Added files:
>     usr.bin/less         zless.sh 
>   Log:
>   Add a zless script which invokes less using the lesspipe script.

Why clutter up /usr/bin when there isn't any need to??

Simple have "LESSOPEN=|lesspipe.sh %s" in your environment and the
lesspipe.sh script worked just fine.  Rather than add more junk to
/usr/bin, I'd rather see you add LESSOPEN to the standard environment.

-- 
-- David  (obrien@FreeBSD.org)



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