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
/
onefile.sh
< prev
next >
Wrap
Text File
|
1990-02-06
|
671b
|
26 lines
echo
echo "This shell script pocesses one file from the News:In.Coming"
echo " directory. Since the files are named by the arrival time,"
echo " they should be processed in order by arrival time. Input files"
echo " are expected to be in compressed format. This script makes use"
echo " of a version of 16-bit compress."
echo
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
endif
unset list one two
rm RAM:tmp