*** input/bunzip2 Fri Oct 30 20:05:22 1998 --- input/bunzip2.neu Fri Oct 30 20:03:16 1998 *************** *** 0 **** --- 1,20 ---- + #! /bin/sh + # bunzip-er + + # =()<. ${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/bunzip2, attempting to invoke the" + echo "real bunzip2, invoked itself somehow." + ) | report -u 'news bunzip2 PATH misconfigured' + exit 1 + ;; + esac + + exec bunzip2 -c --- input/makefile.orig Mon Jan 2 22:48:40 1995 +++ input/makefile Fri Dec 25 10:20:46 1998 @@ -1,13 +1,13 @@ # =()<@@>()= .include "../include/config.make" -BINS=c7decode bdecode newsspool +BINS=c7decode bdecode newsspool bunzip2 RCVRS=rnews cunbatch PROGS=$(BINS) newsrun newsrunning recenews recpnews $(RCVRS) ALL=$(PROGS) DEST=$(NEWSBIN)/input DBIN=$(NEWSBIN)/decompressors -DECS=c7decode bdecode gunzip +DECS=c7decode bdecode gunzip bunzip2 PGMS=$(PROGS) $(DECS) BATCH=../batch *** batch/viauux Mon Nov 28 02:14:34 1994 --- batch/viauux.neu Fri Oct 30 20:09:43 1998 *************** *** 14,19 **** --- 14,20 ---- -n) z=-n ;; -d) decomp="-d $2" ; shift ;; -c) cmd=cunbatch ;; + -cmd) cmd="$2" ; shift ;; --) shift ; break ;; -*) echo "$0: unknown option \`$1'" >&2 ; exit 2 ;; *) break ;; *** batch/compcun Mon Aug 15 22:02:22 1994 --- batch/compcun.neu Mon Nov 2 21:05:48 1998 *************** *** 1,5 **** #! /bin/sh # Invoke compress, adding silly 2.11-compatible header. ! echo "#! cunbatch" ! exec compress $* --- 1,16 ---- #! /bin/sh # Invoke compress, adding silly 2.11-compatible header. ! cmd=cunbatch ! prg=compress ! for dummy ! do ! case "$1" in ! -cmd) cmd="$2" ; shift ;; ! -prg) prg="$2" ; shift ;; ! *) break ;; ! esac ! shift ! done ! echo "#! ${cmd}" ! exec ${prg} $*