bet@ecsvax.UUCP (07/03/84)
A fantastically simple routine. I like it. Our news program doesn't. The "~FUNKY STUFF~" looks like an unsuccessful effort at a "~" escape to our news program. Oh well. The following works on our system. ---------------------------------------------------------------------- : 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 << '/*EOF'" /bin/cat $file | sed 's/^/X/' echo "/*EOF" done ---------------------------------------------------------------------- Bennett Todd ...{decvax,ihnp4,akgua}!mcnc!ecsvax!bet