From: Mike Frysinger Date: Tue, 24 Apr 2007 07:40:31 +0000 (+0000) Subject: handle torrents X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95b1f6c272ec99c02e55916e2ab98e1d32515b68;p=gentoo.git handle torrents Package-Manager: portage-2.1.2.4 --- diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index 878ede32a743..e8c8d4207f7a 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -127,6 +127,7 @@ lesspipe() { *.flac) metaflac --list "$1" ;; *.iso) isoinfo -d -i "$1" ; isoinfo -l -i "$1" ;; *.bin|*.cue) cd-info --no-header --no-device-info "$1" ;; + *.torrent) torrentinfo-console "$1" ;; ### Source code ### *.awk|*.groff|*.java|*.js|*.m4|*.php|*.pl|*.pm|*.pod|*.sh|\ @@ -193,7 +194,7 @@ if [[ -z $1 ]] ; then echo "Usage: lesspipe.sh " elif [[ $1 == "-V" ]] ; then Id="cvsid" - cvsid="$Id: lesspipe.sh,v 1.21 2007/01/18 03:06:58 vapier Exp $" + cvsid="$Id: lesspipe.sh,v 1.22 2007/04/24 07:40:31 vapier Exp $" cat <<-EOF $cvsid Copyright 2001-2006 Gentoo Foundation