Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site circadia.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!ihnp4!stolaf!umn-cs!circadia!dave From: dave@circadia.UUCP (dave) Newsgroups: net.sources Subject: makeshar - shell archive shell script Message-ID: <113@circadia.UUCP> Date: Sun, 4-Nov-84 03:51:01 EST Article-I.D.: circadia.113 Posted: Sun Nov 4 03:51:01 1984 Date-Received: Tue, 6-Nov-84 04:43:44 EST Distribution: net Organization: Quest Research Inc., Burnsville, MN Lines: 69 Here is a copy of my shell archive creation script. Please, no flames about this kind of thing being posted before; I`m sure it has, but in the couple of months I`ve been reading the news, I haven`t seen anything. In any event it is pretty short. To run it just type 'sh makeshar files... > output.shar'. #--------CUT---------CUT---------CUT---------CUT--------# ######################################################### # # # This is a shell archive file. To extract files: # # # # 1) Make a directory for the files. # # 2) Write a file, such as "file.shar", containing # # this archive file into the directory. # # 3) Type "sh file.shar". Do not use csh. # # # ######################################################### # # echo Extracting makeshar: sed 's/^Z//' >makeshar <<\STUNKYFLUFF Zcat <$i <<\\STUNKYFLUFF ZXXX Z sed 's/^/Z/' $i Z set `sum $i` Z cat <