summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-05 09:11:45 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-05 09:11:45 +0000
commit9199121864635aba5ce03a79ea21c3c8a75da85a (patch)
tree42eb2deb3aaaf4dff9eb9670b679a6241aa3a9be /sys-apps/less/files
parentstable on mips (diff)
downloadgentoo-2-9199121864635aba5ce03a79ea21c3c8a75da85a.tar.gz
gentoo-2-9199121864635aba5ce03a79ea21c3c8a75da85a.tar.bz2
gentoo-2-9199121864635aba5ce03a79ea21c3c8a75da85a.zip
back out previous change as that prevents people from following log files #150727
(Portage version: 2.1.2_rc1-r2)
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r--sys-apps/less/files/lesspipe.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 737407672b69..d670466957ca 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -67,7 +67,6 @@ lesspipe() {
;;
esac
;;
- *.conf|*.log|*.txt) cat -- "$1" ;;
*.dvi) dvi2tty "$1" ;;
*.ps|*.pdf) ps2ascii "$1" || pstotext "$1" || pdftotext "$1" ;;
*.doc) antiword "$1" || catdoc "$1" ;;
@@ -187,7 +186,7 @@ if [[ -z $1 ]] ; then
echo "Usage: lesspipe.sh <file>"
elif [[ $1 == "-V" ]] ; then
Id="cvsid"
- cvsid="$Id: lesspipe.sh,v 1.17 2006/10/07 03:20:39 vapier Exp $"
+ cvsid="$Id: lesspipe.sh,v 1.18 2006/11/05 09:11:45 vapier Exp $"
cat <<-EOF
$cvsid
Copyright 2001-2005 Gentoo Foundation