summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-08-30 08:20:34 +0000
committerdelphij <delphij@FreeBSD.org>2006-08-30 08:20:34 +0000
commit5ffbf296e89b6407e9d4e293a52a36c90da192d9 (patch)
tree7f26b5df2dda2ae66ff46d0ee9c1dd9c716a6dc7 /usr.bin
parent4736b1fdce117521ab47cd625661b1c7a3711d0d (diff)
downloadFreeBSD-src-5ffbf296e89b6407e9d4e293a52a36c90da192d9.zip
FreeBSD-src-5ffbf296e89b6407e9d4e293a52a36c90da192d9.tar.gz
In rev. 1.2 we have introduced a fallback handler for files with unknown
extensions. This seems to be unnecessary and prevents less(1) from being able to detect file changes, so remove the part. Submitted by: Eric Huss <e-huss netmeridian com> PR: bin/102624 Discussed with: des MFC After: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/less/lesspipe.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/less/lesspipe.sh b/usr.bin/less/lesspipe.sh
index 5fbf623..6af7db3 100644
--- a/usr.bin/less/lesspipe.sh
+++ b/usr.bin/less/lesspipe.sh
@@ -13,7 +13,4 @@ case "$1" in
*.bz2)
exec bzip2 -d -c $1 2>/dev/null
;;
- *)
- exec cat $1 2>/dev/null
- ;;
esac
OpenPOWER on IntegriCloud