Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ut-sally.UUCP
Path: utzoo!linus!decvax!harpo!seismo!ut-sally!jsq
From: jsq@ut-sally.UUCP (John Quarterman)
Newsgroups: net.sources
Subject: Re: shell archiver wanted - (nf)
Message-ID: <998@ut-sally.UUCP>
Date: Sat, 25-Feb-84 12:41:31 EST
Article-I.D.: ut-sally.998
Posted: Sat Feb 25 12:41:31 1984
Date-Received: Sun, 26-Feb-84 01:22:02 EST
References: <1619@pur-ee.UUCP>
Organization: U. Texas CS Dept., Austin, Texas
Lines: 16

The body of this article is a Bourne shell command (shar) to combine
text files into a shar archive that can be extracted by running
it as a Bourne shell command (i.e., "sh archive-file").

separator='!Funky!Stuff!'
echo ': This is a shar archive.  Extract with sh, not csh.'
for f in $*
do
	echo "echo x - $f"
	echo "cat > $f << '$separator'"
	cat $f
	echo "$separator"
done
-- 
John Quarterman, CS Dept., University of Texas, Austin, Texas
jsq@ut-sally.ARPA, jsq@ut-sally.UUCP, {ihnp4,seismo,ctvax}!ut-sally!jsq