echoall
chdir    tab
cc mtab.c
a.out atable atab
a.out ctable ctab
a.out etable etab
rm -f /usr/lib/etab /usr/lib/ctab /usr/lib/atab
cp atab /usr/lib/atab
cp ctab /usr/lib/ctab
cp etab /usr/lib/etab
chmod 644 /usr/lib/etab /usr/lib/ctab /usr/lib/atab
chown root /usr/lib/etab /usr/lib/ctab /usr/lib/atab
rm a.out atab ctab etab

chdir ../src
cc -s -O upost.c
rm -f /bin/upost 
cp a.out /bin/upost
chown root /bin/upost
chmod 711 /bin/upost
cc -s -O crpost.c
rm -f /bin/crpost
cp a.out /bin/crpost
chmod 711 /bin/crpost
chown root /bin/crpost
cc -s -O dr.c acts.c put.c
rm -f /bin/cref
cp a.out /bin/cref
chmod 711 /bin/cref
chown root /bin/cref
rm a.out *.o

chdir ../index
cc -s -O ind?.c
rm -f /bin/index
cp a.out /bin/index
chmod 711 /bin/index
chown root /bin/index
rm a.out *.o
