diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2016-01-15 23:13:01 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2016-01-15 23:13:01 +0000 |
commit | 2852a34f86cf82e81a4beafd3c8d61ddb3ff8a7c (patch) | |
tree | 5a1dcf659826bcbac4b17297951c62ab80bd54ae /usr.bin/less | |
parent | b5acc1891f05f8ded96e170018ef75a006e78046 (diff) | |
download | src-test-2852a34f86cf82e81a4beafd3c8d61ddb3ff8a7c.tar.gz src-test-2852a34f86cf82e81a4beafd3c8d61ddb3ff8a7c.zip |
- Add support for zip to lesspipe.sh
Approved by: des
Notes
Notes:
svn path=/head/; revision=294111
Diffstat (limited to 'usr.bin/less')
-rw-r--r-- | usr.bin/less/lesspipe.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/less/lesspipe.sh b/usr.bin/less/lesspipe.sh index acae7daff032c..af038b1390011 100644 --- a/usr.bin/less/lesspipe.sh +++ b/usr.bin/less/lesspipe.sh @@ -4,6 +4,9 @@ # $FreeBSD$ case "$1" in + *.zip) + exec unzip -c "$1" 2>/dev/null + ;; *.Z) exec uncompress -c "$1" 2>/dev/null ;; |