This is the mail archive of the
mailing list for the Cygwin project.
Re: Norton Internet Security and Cygwin: What settings for NIS?
-----BEGIN PGP SIGNED MESSAGE-----
According to Chris Taylor on 11/28/2005 3:13 AM:
> I should point out that hostname is called in /etc/profile for bash as
> well ( HOSTNAME=`hostname` <-- should this be being changed to
> HOSTNAME=$(hostname) at some point soon?)
There is no difference in this case (both command substitution spellings
are required by POSIX), and `hostname` is more portable to older shells
than $(hostname). However, since all bourne-compatible shells distributed
with cygwin support the newer syntax, and the newer syntax is more
readable, as well as easier to nest, it wouldn't hurt if base-files were
updated to use $() instead of ``.
Life is short - so eat dessert first!
Eric Blake email@example.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html