Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!usc!rutgers!att!cbnewsl!lbl From: lbl@cbnewsl.ATT.COM (leslie.b.locklear) Newsgroups: comp.sys.amiga.tech Subject: Re: ash vs ksh (Re: Bloody active rerouters. I give up. Message for koren.) Summary: Interesting... Message-ID: <3050@cbnewsl.ATT.COM> Date: 28 Nov 89 18:06:56 GMT References: <4573@sugar.hackercorp.com> <4926@cbnewsc.ATT.COM> <4587@sugar.hackercorp.com> Distribution: na Organization: AT&T Bell Laboratories Lines: 26 In article <4587@sugar.hackercorp.com>, peter@sugar.hackercorp.com (Peter da Silva) writes: ) I complained about using $(cmd) rather than `cmd`. ) ) In article <4926@cbnewsc.ATT.COM> sft@cbnewsc.ATT.COM (scott.thompson,ihp,) writes: ) > Both are real unix! $(prog) is valid ksh syntax! ) ) I don't think so: ) ) /usr/peter/News/232 $ echo $(echo hi) ) ksh: syntax error: `(' unexpected ) -- ) Peter "Have you hugged your wolf today" da Silva ) `-_-' ) 'U` "Really, that tedious net etiquette stuff simply can't be expected ) to apply to an _Author_" -- Peter Merel Hmmmm.... That's interesting! When I try it I get: 1:[amiga] echo $(echo hi) hi 1:[amiga] echo $SHELL /usr/lbin/ksh Perhaps you have an earlier version of ksh? Barry Locklear