svn commit: r294111 - head/usr.bin/less
Alex Kozlov
ak at FreeBSD.org
Fri Jan 15 23:13:02 UTC 2016
Author: ak (ports committer)
Date: Fri Jan 15 23:13:01 2016
New Revision: 294111
URL: https://svnweb.freebsd.org/changeset/base/294111
Log:
- Add support for zip to lesspipe.sh
Approved by: des
Modified:
head/usr.bin/less/lesspipe.sh
Modified: head/usr.bin/less/lesspipe.sh
==============================================================================
--- head/usr.bin/less/lesspipe.sh Fri Jan 15 23:10:37 2016 (r294110)
+++ head/usr.bin/less/lesspipe.sh Fri Jan 15 23:13:01 2016 (r294111)
@@ -4,6 +4,9 @@
# $FreeBSD$
case "$1" in
+ *.zip)
+ exec unzip -c "$1" 2>/dev/null
+ ;;
*.Z)
exec uncompress -c "$1" 2>/dev/null
;;
More information about the svn-src-all
mailing list