Article View: comp.sys.amiga.tech
Article #2304Re: Bloody active rerouters. I give up. Message for koren.
From: Steve Koren
Date: Wed, 22 Nov 1989 14:49
Date: Wed, 22 Nov 1989 14:49
31 lines
1495 bytes
1495 bytes
> Two suggestions for ash:
> Would it be horribly difficult to change the syntax from:
> run $(which variable) command
> to:
> run `which variable` command
That has been in there since the beginning. Try it; it works. However,
SKsh (the new name) and ksh both recommend the $( ) syntax, for a few
reasons:
1) Its easier to nest, since you don't have to backslash escape
the inner backticks. ie:
`command1 \`command2 \` `
vs
$(command1 $(command2 ))
2) In SKsh, the backtick notation is limited to the length of an
SKsh token (currently 1023 characters). There is no such
limitation for the $( ) syntax.
Anyhow, I included the backtick style substition for compatibility with
the old bourne sh syntax.
- steve (koren@hpfela.HP.COM)
PS - I have replied to *all* mail I've gotten about SKsh, but I have
around a dozen replies which bounced. My appologies to those
people; if you sent me mail and didn't get a reply, that's what
happened.
Technical Details
Message-ID:
<13920017@hpfelg.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!decwrl!ucbvax!hplabs!hpfcso!hpfelg!korenReferences:
<4573@sugar.hackercorp.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!decwrl!ucbvax!hplabs!hpfcso!hpfelg!koren From: koren@hpfelg.HP.COM (Steve Koren) Newsgroups: comp.sys.amiga.tech Subject: Re: Bloody active rerouters. I give up. Message for koren. Message-ID: <13920017@hpfelg.HP.COM> Date: 22 Nov 89 14:49:06 GMT References: <4573@sugar.hackercorp.com> Organization: HP Elec. Design Div. -FtCollins Lines: 31