mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
f07cfbf5d4
P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME.
14 lines
173 B
Bash
14 lines
173 B
Bash
#! /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
|