Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.news.group,net.sources.bugs Subject: Re: Shar files--making leading & trailing stuff into comments Message-ID: <1546@sdcrdcf.UUCP> Date: Thu, 13-Dec-84 13:22:53 EST Article-I.D.: sdcrdcf.1546 Posted: Thu Dec 13 13:22:53 1984 Date-Received: Sat, 15-Dec-84 03:08:22 EST References: <11071@gatech.UUCP> <322@qantel.UUCP> <326@qantel.UUCP> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corp. R+D, Santa Monica Lines: 8 Xref: watmath net.news.group:2637 net.sources.bugs:127 Summary: 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