1d6788bfb7
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
|