Path: utzoo!utgpu!water!watmath!clyde!rutgers!cbmvax!vu-vlsi!devon!paul From: paul@devon.UUCP (Paul Sutcliffe Jr.) Newsgroups: comp.unix.wizards Subject: Re: csh oddity Summary: not just 4.{23}, either Keywords: csh variables substitution Message-ID: <590@devon.UUCP> Date: 9 Jan 88 17:09:14 GMT References: <826@murphy.UUCP> Reply-To: paul@devon.UUCP (Paul Sutcliffe Jr.) Organization: Devon Computer Services, Lancaster, PA Lines: 31 In article <826@murphy.UUCP> dcornutt@murphy.UUCP (Dave Cornutt) writes: +---------- | I have discovered something peculiar about csh variable substitution. Is | this a bug or am I doing something wrong? Watch this: | | % set xy1z=qwert | % echo $xy1z | qwert | % set xy1z=${xy1z}_123 | Variable syntax. | % echo $xy1z | qwert | | The OS involved here is UTX/32, rev 2.0, which is BSD4.3 based. However, | I have gotten the same results on Sun 3.2, which is 4.2-based, so I think | it's generic to csh. Any hints? +---------- I tried this same thing on the csh on Microsoft Xenix 3.0 (Xenix/68000 on a Tandy 16), and got the same results. Not having source, I cannot suggest what is causing this (or offer a fix), but I thought I mention this for those who can. - paul -- Paul Sutcliffe, Jr. UUCP (smart): paul@devon.UUCP UUCP (dumb): ...{rutgers,ihnp4,cbosgd}!bpa!vu-vlsi!devon!paul