#! /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

#! /bin/sh
# ex:ts=8

# $FreeBSD$

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

Handle presumably uncompressed files with cat; exec the handlers.
Handle presumably uncompressed files with cat; exec the handlers.

MFC after:	1 week
