Re: csh issues bogus error message
On Monday 14 September 2009 21:22:23 Steve Bertrand wrote: > Steven Friedrich wrote: > > 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) > > What exactly are you trying to do? > > Can you post the entire contents of your .cshrc file? > > ...seems as though there is something missing here. > > Steve > Ok, I'm sorry. My brain farted. I had set -x in .cshrc, and that's a good line in a BOURNE script 8o) but in my csh scripts, I can place #!/bin/csh -x when I need debug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: csh issues bogus error message
Steven Friedrich wrote: > 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) What exactly are you trying to do? Can you post the entire contents of your .cshrc file? ...seems as though there is something missing here. Steve smime.p7s Description: S/MIME Cryptographic Signature
csh issues bogus error message
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) I'm running FreeBSD 7.2p3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
csh issues bogus error message
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) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"