cvs commit: src/usr.bin/less Makefile zless.sh
Dag-Erling Smorgrav
des at FreeBSD.org
Tue May 17 04:14:16 PDT 2005
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. This is
similar to the zmore script that comes with gzip (and in fact, in most
Linux distros, zless is a symlink to that very same zmore script) but has
the advantage that you get the correct file name on the less status line,
and can use :n and :p to navigate back and forth between multiple files.
MFC after: 1 week
Revision Changes Path
1.9 +4 -3 src/usr.bin/less/Makefile
1.1 +7 -0 src/usr.bin/less/zless.sh (new)
More information about the cvs-src
mailing list