Simple question...

Steven V. Christensen schriste at uceng.UC.EDU
Sun Dec 3 00:18:01 AEST 1989


Excuse the simple question, but I have a bunch of shar files that
I want to unshar. Unfortunately all 20+ have the mail headers on them.
In SED, how would I pipe the files to remove everything before the
"#!/bin/sh" ? Also, how would I get everything between the "#!/bin/sh"
and the "exit 0" at the end (for those mailers which append a .sig)?

Thanks for your help,

		Steven

-- 
Steven V. Christensen
U.C. College of Eng.
schriste at uceng.uc.edu



More information about the Comp.unix.questions mailing list