From owner-freebsd-questions@FreeBSD.ORG Tue Sep 15 02:38:42 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0FA1106566B for ; Tue, 15 Sep 2009 02:38:42 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf03.insightbb.com (mxsf03.insightbb.com [74.128.0.64]) by mx1.freebsd.org (Postfix) with ESMTP id 8CBC28FC12 for ; Tue, 15 Sep 2009 02:38:42 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,386,1249272000"; d="scan'208";a="725266654" Received: from unknown (HELO asav00.insightbb.com) ([172.31.249.123]) by mxsf03.insightbb.com with ESMTP; 14 Sep 2009 22:38:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAF+brkrQLicL/2dsb2JhbACBU9pAhBcF X-IronPort-AV: E=Sophos;i="4.44,386,1249272000"; d="scan'208";a="94837220" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout00.insightbb.com with ESMTP; 14 Sep 2009 22:38:41 -0400 From: Steven Friedrich To: questions@freebsd.org Date: Mon, 14 Sep 2009 22:38:29 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.1; i386; ; ) References: <200909142113.09065.freebsd@insightbb.com> <4AAEEC4F.4080909@ibctech.ca> In-Reply-To: <4AAEEC4F.4080909@ibctech.ca> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909142238.29848.freebsd@insightbb.com> Cc: Subject: Re: csh issues bogus error message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 02:38:43 -0000 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.