cvs commit: src/usr.bin/less Makefile zless.sh

David O'Brien obrien at FreeBSD.org
Wed May 18 09:47:08 PDT 2005


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 at FreeBSD.org)


More information about the cvs-src mailing list