On Fri, 2006-07-28 at 10:53 -0600, Bryan Sant wrote:
> Back ticks are the standard and they work in every shell I've ever
> used (sh, bash, ksh, csh, zsh, etc).  $() only works in some shells
> (bash, ksh, zsh?).

Yes, that is the one and only valid reason for using backticks. Most
people should not use backticks however, as most do not need full bourne
compatibility.

BTW, $() is actually a ksh idea that bash stole.

Frankly, now that the real Korn shell (not the hideous pdksh) has been
open sourced and distros are starting to include it, my personal opinion
is that people needing portability will soon be able to use /bin/ksh
instead of /bin/sh. Unless you have the misfortune of using lots of old
machines that really only have /bin/sh.

-- 
Stuart Jansen              e-mail/jabber: [EMAIL PROTECTED]
                           google talk:   [EMAIL PROTECTED]

"However beautiful the strategy, you should occasionally look at 
the results." -- Winston Churchill

Attachment: signature.asc
Description: This is a digitally signed message part

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to