[comp.sys.amiga] Here's an easy way to unpak comp.binaries.amiga shar files

sparks@corpane.UUCP (John Sparks) (01/24/90)

If you have access to comp.binaries.amiga on a Unix box, this little
script might help you. I whipped it up in a few minutes and it seems
to work on everything Tad has sent thru so far.


I call it Amyshar:

#!/bin/sh
cat $* | sed '1,/^sed/d'|sed '/^SHAR_EOF/,/^sed/d'|sed s/^X//| uudecode

--
Prerequisites: You must have the programs "sed" and "uudecode" (and unix so you
can execute the above unix script)

1. Put the script above in a file, name it Amyshar, make it executable. 
2. Then go into your news reader and enter comp.binaries.amiga
3. Save all the parts to a program into one large file (in order of course)
4. At the shell prompt, type: Amyshar sharfile (where sharfile is the name
of the large file you saved to from the newsreader)
5. Ta Da! you now have a zoo file.

You don't have to worry about chopping the files at the 'cut here' lines, or
stripping off the headers. Amyshar ignores all that.

I hope this helps some people out there.


P.S.> Maybe we can get this into the monthly Amiga posting?


-- 
John Sparks  | D.I.S.K. 24hrs 1200bps. Accessable via Starlink (Louisville KY)
sparks@corpane.UUCP <><><><><><><><><><><> D.I.S.K. ph:502/968-5401 thru -5406 
Death is nature's way of telling you to slow down.