Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site utcsri.UUCP Path: utzoo!utcsri!mason From: mason@utcsri.UUCP (Dave Mason) Newsgroups: net.sources.bugs Subject: Re: Re: Could we have a standard "shar" file format? Message-ID: <1404@utcsri.UUCP> Date: Wed, 18-Sep-85 20:09:41 EDT Article-I.D.: utcsri.1404 Posted: Wed Sep 18 20:09:41 1985 Date-Received: Wed, 18-Sep-85 20:36:17 EDT References: <396@persci.UUCP> <4048@amdcad.UUCP> <153@maynard.UUCP> Reply-To: mason@utcsri.UUCP (Dave Mason) Organization: University of Toronto/Ryerson Polytechnic Institute Lines: 21 Summary: ln /bin/true /bin/# In article <153@maynard.UUCP> campbell@maynard.UUCP (Larry Campbell) writes: >> >... >> >from within postings, but it looks for a line that starts with: >> > #!/bin/sh >> >... >> 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. >> UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb (Jim Budler) > >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. true(1) already does this & is 0 bytes long. Just link to it, or cat /dev/null ># ; chmod +x # -- Usenet: {dalcs dciem garfield musocs qucis sask titan trigraph ubc-vision utzoo watmath allegra cornell decvax decwrl ihnp4 uw-beaver} !utcsri!mason Dave Mason, U. Toronto CSRI CSNET: mason@Toronto ARPA: mason%Toronto@CSNet-Relay