[NTLUG:Discuss] Scripting help
Eric Schnoebelen
eric at cirr.com
Fri Sep 26 09:55:26 CDT 2014
Steve Litt writes:
- On Fri, 26 Sep 2014 00:02:55 -0500
- Rusty Haddock <rusty at fe2o3.lonestar.org> wrote:
- > I'm starting to be won over by the $( commands ) notation
- > instead of grave accents.
-
- I thought that was valid only on bash, but it just worked for me on
- dash, zsh and ksh. Maybe I'll start using that instead of backticks.
$() was specified as part of the POSIX.2 shell standard, as I
recall. So any shell that claims to be POSIX conforming
(starting with ksh86, as I recall) will support the $() syntax.
--
Eric Schnoebelen eric at cirr.com http://www.cirr.com
Five boxes preserve our freedoms:
soap, ballot, witness, jury, and cartridge
More information about the Discuss
mailing list