mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
40d28fe140
MFC after: 1 week
20 lines
228 B
Bash
20 lines
228 B
Bash
#! /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
|