summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-05 21:58:50 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-05 21:58:50 +0000
commiteda96fa81e1749fca673d4dc88ab898c8b448e8f (patch)
treed9daa48debc92c4faa6910d9be9a9067144c19cb /sys-apps/less/files/lesspipe.sh
parentUpdated ccext2-as-needed patch, bug 154177, thanks to drizzt. (diff)
downloadgentoo-2-eda96fa81e1749fca673d4dc88ab898c8b448e8f.tar.gz
gentoo-2-eda96fa81e1749fca673d4dc88ab898c8b448e8f.tar.bz2
gentoo-2-eda96fa81e1749fca673d4dc88ab898c8b448e8f.zip
add back in a simpler match for conf/txt/log as suggested by Benno Schulenberg #150256
(Portage version: 2.1.2_rc1-r2)
Diffstat (limited to 'sys-apps/less/files/lesspipe.sh')
-rw-r--r--sys-apps/less/files/lesspipe.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index d670466957ca..d1dae0dc2ea9 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -71,6 +71,7 @@ lesspipe() {
*.ps|*.pdf) ps2ascii "$1" || pstotext "$1" || pdftotext "$1" ;;
*.doc) antiword "$1" || catdoc "$1" ;;
*.rtf) unrtf --nopict --text "$1" ;;
+ *.conf|*.txt|*.log) ;; # force less to work on these directly #150256
### URLs ###
ftp://*|http://*|*.htm|*.html)
@@ -186,7 +187,7 @@ if [[ -z $1 ]] ; then
echo "Usage: lesspipe.sh <file>"
elif [[ $1 == "-V" ]] ; then
Id="cvsid"
- cvsid="$Id: lesspipe.sh,v 1.18 2006/11/05 09:11:45 vapier Exp $"
+ cvsid="$Id: lesspipe.sh,v 1.19 2006/11/05 21:58:50 vapier Exp $"
cat <<-EOF
$cvsid
Copyright 2001-2005 Gentoo Foundation