🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2373

Re: ash vs ksh (Re: Bloody active rerouters. I give up. Message for koren.)

#2373
From: leslie.b.locklear
Date: Tue, 28 Nov 1989 18:06
26 lines
1361 bytes
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 <peter@sugar.hackercorp.com>
) `-_-'
)  'U`  "Really, that tedious net etiquette stuff simply can't be expected
)        to apply to an _Author_" -- Peter Merel <pete@basser.oz>

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 <lbl@sf.att.com>
Technical Details
Message-ID: <3050@cbnewsl.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!usc!rutgers!att!cbnewsl!lbl
References: <4573@sugar.hackercorp.com> <4926@cbnewsc.ATT.COM> <4587@sugar.hackercorp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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