Path: utzoo!utgpu!water!watmath!clyde!rutgers!cbmvax!grr From: grr@cbmvax.UUCP (George Robbins) Newsgroups: comp.sys.amiga Subject: Re: Suggestion for assignment of another protection bit Message-ID: <3018@cbmvax.UUCP> Date: 25 Dec 87 00:06:40 GMT References: <8712240640.AA24010@cory.Berkeley.EDU> <37368@sun.uucp> Reply-To: grr@cbmvax.UUCP (George Robbins) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <37368@sun.uucp> cmcmanis@sun.UUCP (Chuck McManis) writes: > > > As far as execution goes, why not adopt the UNIX standard: > > > >#!C:EXECUTE (as the first line in file) > > But Matt even on UNIX the shell does this, not the O/S. You could use the > same technique that csh uses, check the file to see if it is a binary > file (read the first 'hunk header') and look for non ascii characters. Uh, on Berkeley unix, this *is* handled by the OS. Yet another kludge, but it's useful and works pretty well as long as you don't make naive assumptions about argument passing... -- George Robbins - now working for, uucp: {uunet|ihnp4|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)