Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 23:13:01 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294111 - head/usr.bin/less
Message-ID:  <201601152313.u0FND11p014024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 		;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601152313.u0FND11p014024>