#! /bin/sh # gunzip-er # =()<. ${NEWSCONFIG-@@}>()= . ${NEWSCONFIG-/usr/local/libexec/cnews/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