utilities - TMPFS - Pass tmpfs_args to mount()
[dragonfly.git] / usr.bin / less / lesspipe.sh
blob3827879de131abf127dbadead78148d6c2796f8a
1 #! /bin/sh
2 # ex:ts=8
4 # $FreeBSD: src/usr.bin/less/lesspipe.sh,v 1.4 2007/05/24 18:28:08 le Exp $
5 # $DragonFly: src/usr.bin/less/lesspipe.sh,v 1.3 2007/06/03 03:59:53 pavalos Exp $
7 case "$1" in
8 *.Z)
9 exec uncompress -c "$1" 2>/dev/null
11 *.gz)
12 exec gzip -d -c "$1" 2>/dev/null
14 *.bz2)
15 exec bzip2 -d -c "$1" 2>/dev/null
17 esac