csh issues bogus error message

Steven Friedrich freebsd at insightbb.com
Tue Sep 15 01:13:17 UTC 2009

I'm working on my .cshrc file, so I have to use csh syntax. I, like most Unix 
shell programmers, usually steer clear of csh scripts, but obviously, .cshrc 
requires csh syntax.

If I create a file with just a # in it, I get:
set: Variable name must begin with a letter.

I can change the # to #!/bin/csh
but I get the same error message

This looks like a csh bug to me 8o)

More information about the freebsd-questions mailing list