aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/less/lesspipe.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* zless(1): handle uncompressed filesFernando ApesteguĂ­a2023-02-201-0/+2
| | | | | | | | | | | | | | In the manual page for zmore(1) and zless(1) it is said that zless(1) is equivalent to zmore(1) except that it uses less(1) as a pager. However zmore(1) is able to handle uncompressed files transparently while zless(1) is not. Add another case to the switch in lesspipe.sh to handle non-compressed files. PR: 196437 Reported by: marquis@roble.com Approved by: mjg@ Differential Revision: https://reviews.freebsd.org/D38674
* Add a zstdless equivalent to zless, bzless xzlessBaptiste Daroussin2017-04-151-0/+3
| | | | Notes: svn path=/head/; revision=316979
* - Add support for zip to lesspipe.shAlex Kozlov2016-01-151-0/+3
| | | | | | | Approved by: des Notes: svn path=/head/; revision=294111
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchMartin Matuska2010-05-101-0/+6
| | | | | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=207842
* Fix handling of filenames containing whitespace.Lukas Ertl2007-05-241-3/+3
| | | | | | | | PR: bin/112860 MFC in: 3 days Notes: svn path=/head/; revision=169956
* In rev. 1.2 we have introduced a fallback handler for files with unknownXin LI2006-08-301-3/+0
| | | | | | | | | | | | | extensions. This seems to be unnecessary and prevents less(1) from being able to detect file changes, so remove the part. Submitted by: Eric Huss <e-huss netmeridian com> PR: bin/102624 Discussed with: des MFC After: 3 days Notes: svn path=/head/; revision=161732
* Handle presumably uncompressed files with cat; exec the handlers.Dag-Erling Smørgrav2005-05-171-3/+9
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=146313
* Add an embellished lesspipe.sh as described in the man page.David E. O'Brien2003-03-061-0/+13
P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME. Notes: svn path=/head/; revision=111938