Date: Mon, 14 Sep 2009 22:38:29 -0400 From: Steven Friedrich <freebsd@insightbb.com> To: questions@freebsd.org Subject: Re: csh issues bogus error message Message-ID: <200909142238.29848.freebsd@insightbb.com> In-Reply-To: <4AAEEC4F.4080909@ibctech.ca> References: <200909142113.09065.freebsd@insightbb.com> <4AAEEC4F.4080909@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909142238.29848.freebsd>