runme shell script for Network Mail Router
utzoo!decvax!harpo!duke!ucf-cs!tim
utzoo!decvax!harpo!duke!ucf-cs!tim
Fri Jun 18 06:10:21 AEST 1982
echo Enter your site name and the full path to the topology file:
read sitename filename
sed -e '/d.*LOCAL/s/\(d.*LOCAL\).*$/\1 '$sitename/ \
-e '/d.*NETFILE/s?\(d.*NETFILE\).*$?\1 "'$filename\"? \
nmail.h >/tmp/nmail.h
mv /tmp/nmail.h nmail.h
echo Header file changed reflecting sitename = $sitename and
echo the topology file = $filename
echo Creating the topology file.
chmod +x ./makenet
./makenet $filename
cc -O -o nmail nmail.c
echo The program can be found in the file "nmail".
More information about the Comp.sources.unix
mailing list