Shar files--making leading & trailing stuff into comments

Larry Wall lwall at sdcrdcf.UUCP
Fri Dec 14 04:22:53 AEST 1984


The problem with either "w|sh" or "|sed '1,/cut/d'|sh" is that you aren't
likely to be in the correct directory.  Rn chdirs all over the place for
efficiency reasons.  You'd probably have to say something like
"w|(cd DIR; sh)".  If you want it in the directory you ran rn in, for
instance, you'd have to say "w|(cd %O; sh)".

Larry Wall
{allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall



More information about the Comp.sources.bugs mailing list