Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!aurora!labrea!decwrl!sun!pitstop!sundc!seismo!uunet!mosys!nortond From: nortond@mosys.UUCP (Daniel A. Norton) Newsgroups: comp.unix.wizards Subject: Re: csh oddity Summary: Fails on CTIX too Keywords: csh variables substitution Message-ID: <219@mosys.UUCP> Date: 14 Jan 88 13:49:30 GMT References: <826@murphy.UUCP> Reply-To: nortond@mosys.UUCP (Daniel A. Norton) Organization: Momentum Systems Corp., Cherry Hill, NJ Lines: 25 I am running a version of csh which comes with Convergent's CTIX along with Sys V/3.0 and it does the same thing. Put more simply, if I have a variable name with a digit in it, I cannot expand it if I enclose the variable name in parentheses: % set xy1z=asdf % echo $xy1z asdf % echo ${xy1z} Variable syntax. I would call this a bug in CTIX, because the documention on csh reads: $name ${name} Are replaced by the words of the value of variable name, each separated by a blank. Braces insulate name from following characters which would otherwise be part of it. Shell variables have names consisting of up to 20 letters and digits starting with a letter. The underscore character is considered a letter. -- Daniel A. Norton nortond@mosys.UUCP 544 Cormorant Drive ...uunet!mosys!nortond Voorhees, NJ 08043 609/751-7381