summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-24 07:48:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-24 07:48:30 +0000
commitcc59b2578174e2e031c150c74142a1f92cc3c240 (patch)
tree1e7bf4649535413e28b9cbc9f9f7948b408b289c /sys-apps/less
parentmake sure we dont filter /usr/lib64 as a "subdir" of /usr/lib as pointed out ... (diff)
downloadgentoo-2-cc59b2578174e2e031c150c74142a1f92cc3c240.tar.gz
gentoo-2-cc59b2578174e2e031c150c74142a1f92cc3c240.tar.bz2
gentoo-2-cc59b2578174e2e031c150c74142a1f92cc3c240.zip
use hexdump on raw data files
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/files/lesspipe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 09bbf75c00fb..62f020441e04 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -22,6 +22,7 @@ lesspipe_file() {
*" shared object"*) lesspipe "$1" ".so" ;;
*" Zip archive"*) lesspipe "$1" ".zip" ;;
*" ELF "*) readelf -a -- "$1" ;;
+ *": data") hexdump -C -- "$1" ;;
esac
}