Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ncr-sd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!laman From: laman@ncr-sd.UUCP (Mike Laman) Newsgroups: net.bugs.4bsd Subject: Re (And third bug): csh foreach variable can't have dig Message-ID: <324@ncr-sd.UUCP> Date: Wed, 6-Nov-85 13:00:10 EST Article-I.D.: ncr-sd.324 Posted: Wed Nov 6 13:00:10 1985 Date-Received: Fri, 8-Nov-85 21:41:14 EST References: <113@sdcsmb.UUCP> <6300017@uiucdcsb> Reply-To: laman@ncr-sd.UUCP (0000-Mike Laman) Organization: NCR Corporation, Torrey Pines Lines: 29 In article <6300017@uiucdcsb> liberte@uiucdcsb.CS.UIUC.EDU writes: > >There is at least one other related bug. >Csh does not allow numbers in variable names in curly brakets, e.g., > >% set bugs2fix = x >% echo ${bugs2fix} >Variable syntax. >% !! >echo 2${bugsfix} >bugsfix: Undefined variable. >% set bugsfix = " bugs to fix" >% !echo >echo 2${bugsfix} >2 bugs to fix > > >Dan LaLiberte >liberte@uiucdcs.Uiuc.ARPA >ihnp4!uiucdcs!liberte And: @ z1 = 2 + 3 will get an error message too. Remove the '1' and it works fine. Mike Laman, NCR Rancho Bernardo UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!ncr-sd!laman