home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
input
/
gunzip
< prev
next >
Wrap
Text File
|
1994-08-17
|
419b
|
21 lines
#! /bin/sh
# gunzip-er
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/etc/news/bin/config}
PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK
case "$1" in
-c) # oh my, recursive loop somehow...
(
echo "$NEWSBIN/decompressors/gunzip, attempting to invoke the"
echo "real gunzip, invoked itself somehow."
) | report -u 'news gunzip PATH misconfigured'
exit 1
;;
esac
exec gunzip -c