File:  [Research Unix] / researchv10no / cmd / netnews / src / localize.sampl
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

rm -f postnews defs.h Makefile
cp postnews.v7 postnews
cp defs.dist defs.h
chmod u+w defs.h
ed defs.h << DONE
/INTERNET/s;/\* ;;
/OLD/s;/\* ;;
/ROOTID/s/10/12/
/MYORG/s/".*"/"Bell Labs, Columbus"/
w
q
DONE
cp Makefile.v7 Makefile
chmod 666 Makefile
ed Makefile << DONE
/NEWSUSR/s/news/mark/
/NEWSGRP/s/news/sys/
w
q
DONE
echo "Warning: if this changed Makefile, abort and restart make"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.