[net.sources] Wanted: A copy of shar

mikec@reed.UUCP (07/01/84)

When I posted the original article asking for someone's copy of shar, I had
no idea how many people wanted a copy.  Well, just in the past two days I
have gotten several versions as well as quite a few requests for copies. 
Rather than send each individual a copy.  I will post one shar program that
I recieved.  Unfortunetly, I hacked up the original letter he sent and
thus, I don't know the original author!  This appears to be the most
simplestic of the shar's I recieved and that is why I am posting it.  You
can make your own little changes as you like.


					Michael Cooper

P.S. -- Would the original author please identify himself!

__________________

UUCP:	{decvax, ucbvax, pur-ee, uw-beaver, ogcvax}!tektronix!reed!mikec
						...!teneron!reed!mikec


-------------------------------Tear'em Hear--------------------------------
: Create a shell that can be run to extract a bunch of files.
echo ": This is a shar archieve.  Extract with sh, not csh."
echo ": The rest of this file will extract:"
echo ":" "$*"
for file
do
    echo "echo extracting - $file"
    echo "sed 's/^X//' > $file << '~FUNKY STUFF~'"
    /bin/cat $file | sed 's/^/X/'
    echo "~FUNKY STUFF~"
done

rees@apollo.UUCP (07/07/84)

Ok, I admit it, I am the author of the shar program that Michael
Cooper posted.  You can tell it's mine by the use of "funky stuff".

I didn't originate the idea.  I got it from James Gosling, who used
to bundle up his emacs distribution this way before the days of
Unipress.  I don't know whether the idea is original with him or not.

mikec@reed.UUCP (Michael Cooper) (07/07/84)

A few days after posting a copy of a shar that I recieved, the author
identified himself.  He was: 

					Tony Hansen
					pegasus!hansen

----

					Michael Cooper
					reed!mikec