# sign in shell/cshell scripts...

Badri Lokanathan badri at ur-helheim.UUCP
Fri Apr 18 08:40:56 AEST 1986


In article <237 at Shasta.ARPA> ALEX at SU-SIERRA.ARPA writes:
>From: Alex Bronstein <ALEX at SU-SIERRA.ARPA>
>
>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 (?)



More information about the Comp.unix.wizards mailing list