- Add support for zip to lesspipe.sh

Approved by:	des
This commit is contained in:
Alex Kozlov 2016-01-15 23:13:01 +00:00
parent b5acc1891f
commit 2852a34f86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294111

View File

@ -4,6 +4,9 @@
# $FreeBSD$
case "$1" in
*.zip)
exec unzip -c "$1" 2>/dev/null
;;
*.Z)
exec uncompress -c "$1" 2>/dev/null
;;