Aucbarpa.973 net.news.b utcsrgv!utzoo!decvax!ucbvax!ARPAVAX:mark Sun Feb 28 17:29:34 1982 shell script makedist to unpack distribution : 'makedist - shell script to unpack news distribution' : 'usage: makedist files' : 'files should be news articles from net.sources' : 'change d=newsdist below to be the dir you want to create.' o=`pwd` echo taking files from dir $o d=newsdist echo making news distribution directory: $d f=`grep -l ++++1 $*` if test ! -d $d then mkdir $d $d/src $d/man $d/doc $d/misc fi cd $d for i in $f do echo $i cp $o/$i xx ed - xx << 1S/++++1/ECHO/ ?++++2?,$D 2S/++++1/CAT ++DONE 1T1 1,/++++1/-D>/ s/$/ << / Q W ECHO +-+DONE+-+ ++DONE>> xx sh xx done rm xx ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.