home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d318
/
cnewsbin.lha
/
CNewsBin
/
cnews.bin.lzh
/
C
/
batch.sh
< prev
next >
Wrap
Text File
|
1990-02-06
|
661b
|
28 lines
echo
echo "This shell script processes all files in the News:In.Coming directory"
echo " Only compressed files are distributed. In coming news must be"
echo " in compressed format with the trailing '.z' on the filename."
echo " Note that this script uses a version of the 16-bit compress."
echo
label loop
cd News:In.Coming
echo *.z >RAM:tmp
input list <RAM:tmp
if $list
strhead one " " $list
strhead two ".z" $one
echo $one -- $two
echo "acomp -d <" $one ">" RAM:$two
acomp -d <$one >RAM:$two
echo "relaynews -df <" RAM:$two
relaynews -df <RAM:$two
rm RAM:$two News:In.Coming/$one
goto loop
endif
unset list one two
rm RAM:tmp