Driver Installation Ubuntu kernel 2.6.17 Basic Help

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn
Thu Apr 5 10:44:44 PDT 2007


On Thu, 5 Apr 2007, Bryan Kadzban wrote:

> Backticks are definitely more portable, as any sh-compatible shell will
> support them.  $(...) is bash-only AFAIK;

Nope. See:

  http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03

bash, zsh, ash, dash support $(...).

> it was introduced because it's hard to nest backticks properly (they
> need to be escaped up to the level of nesting).

Might be true.

> I hadn't heard that backticks were deprecated though.

Neither did I.

> Whereas if you use $(pwd) or `pwd`, the shell does the process
> substitution, so it runs pwd before running make (and passes the result
> of pwd to make directly).  Of course make will still change directories
> first, but it already has the full path passed to it, so it works right.

And if you add make on the top of it, that makes things slightly more
complicated.


Cheers,
Cristian




More information about the Hostap mailing list