-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 PROTECTED] -----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 iD8DBQFDiwWL84KuGfSFAYARAo1BAJwLm55Pvqs6qEpNqTHue6aTkVbMTQCdGMo5 nnmsNgwj3+WrdKg1Y9IBFjQ= =Q96s -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/