Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!cmcl2!seismo!rochester!ur-helheim!badri From: badri@ur-helheim.UUCP (Badri Lokanathan) Newsgroups: net.unix-wizards Subject: Re: # sign in shell/cshell scripts... Message-ID: <609@ur-helheim.UUCP> Date: Thu, 17-Apr-86 17:40:56 EST Article-I.D.: ur-helhe.609 Posted: Thu Apr 17 17:40:56 1986 Date-Received: Sat, 19-Apr-86 14:18:07 EST References: <237@Shasta.ARPA> Reply-To: badri@helheim.UUCP (Badri Lokanathan) Organization: U. of Rochester, EE Dept. Lines: 18 In article <237@Shasta.ARPA> ALEX@SU-SIERRA.ARPA writes: >From: Alex Bronstein > >Hi, > I'm encountering weird problems with sh (and sometimes csh) >dying on some shell scripts depending on whether or not my first line in >the script is a comment like: ># This script does this (but not that) > >(It dies when the comment is there.) > > I am looking for ANY hint/story/random knowledge concerning ># in shell scripts. > # in the first column preceeds comments in shell scripts EXCEPT if it is the very first character of the file. The BSD 4.2 csh(1) page mentions this at the bottom of page 18 (?)