Index of /itools/MSDOS/TOOLS/UNSHAR

      Name                    Last modified       Size  Description

[DIR] Parent Directory 19-Apr-2005 00:33 - [TXT] GETOPT.C 19-Jan-1990 16:34 2k [TXT] INDEX.C 19-Jan-1990 16:34 1k [TXT] MAKEFILE 02-Mar-1990 23:15 1k [TXT] TAGS 02-Mar-1990 23:17 1k [   ] UNSHAR.1 19-Jan-1990 16:34 1k [TXT] UNSHAR.C 24-Mar-1990 23:53 9k [TXT] UNSHAR.H 18-Mar-1990 15:00 1k [   ] UNSHAR.MAN 20-Sep-1991 17:17 2k

Here is a version of unshar that I have `knocked up' in the past few weeks.
It isn't as flash as the standard unshar, but I've made it modular so it
can be enhanced easily.

However, it has some advantages:

	- it does not call any other program, especially /bin/sh
	- it can extract specific files from the shar
	- can give a table of contents without extracting files
	- takes several input files, or the standard input
	- ignores leading `junk' e.g news headers
	- emulates sed, gres and cat to do the unsharing
	- avoids the Minix `cat /dev/null > file' problem :-)
	- it works `as is' under MS-DOS (needs getopt)

I've used it to unshar lots of different files; there are bound to be
some that it can't extract, but fixing the program should be easy.

	Warren Toomey  -  wtoomey@csadfa.oz.au@munnari.oz[@uunet]