Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site maynard.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!talcott!wjh12!maynard!campbell From: campbell@maynard.UUCP (Larry Campbell) Newsgroups: net.sources.bugs Subject: Re: Re: Could we have a standard "shar" file format? Message-ID: <153@maynard.UUCP> Date: Tue, 17-Sep-85 06:36:54 EDT Article-I.D.: maynard.153 Posted: Tue Sep 17 06:36:54 1985 Date-Received: Wed, 18-Sep-85 04:12:15 EDT References: <396@persci.UUCP> <4048@amdcad.UUCP> Organization: The Boston Software Works Inc., Maynard, MA Lines: 23 > >... > >from within postings, but it looks for a line that starts with: > > #!/bin/sh > >or something like that. It does *NOT* work with shar files that start with > >a colon in column 1 of the first line! I'm seeing a few of these coming over > > And what are the poor folk with v7 supposed to do? v7 sh recognizes > a ':' as a comment and '#: program not found' for your solution. > -- > Jim Budler > UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb It doesn't handle all the cases (like metachars after the #) but I wrote the smallest possible C program: "main(){}", called it #, and put it in /usr/local/bin. -- Larry Campbell decvax!genrad The Boston Software Works, Inc. \ 120 Fulton St. seismo!harvard!wjh12!maynard!campbell Boston MA 02109 / / ihnp4 cbosgd ARPA: campbell%maynard.uucp@harvard.arpa