mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
9dd54fbb7e
extensions. This seems to be unnecessary and prevents less(1) from being able to detect file changes, so remove the part. Submitted by: Eric Huss <e-huss netmeridian com> PR: bin/102624 Discussed with: des MFC After: 3 days
17 lines
192 B
Bash
17 lines
192 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
|
|
;;
|
|
esac
|