summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/lesspipe.sh
blob: 2cef2c5edb7ac4f9f20917682710264e350e8252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh
# ex:ts=8

# $FreeBSD$

case "$1" in
	*.Z)	uncompress -c $1	2>/dev/null
		;;
	*.gz)	gzip -d -c $1		2>/dev/null
		;;
	*.bz2)	bzip2 -d -c $1		2>/dev/null
		;;
esac
OpenPOWER on IntegriCloud