X-Spam-Check-By: sourceware.org
Message-ID: <438B058B.7020601@byu.net>
Date: Mon, 28 Nov 2005 06:26:35 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: jeyadev3@yahoo.com
Subject: Re: Norton Internet Security and Cygwin: What settings for NIS?
References: <loom.20051127T120841-474@post.gmane.org> <20051127150708.87610.qmail@web35709.mail.mud.yahoo.com> <dmdc9b$g05$1@sea.gmane.org> <438AD84E.3000508@equate.dyndns.org>
In-Reply-To: <438AD84E.3000508@equate.dyndns.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----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             ebb9@byu.net
-----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/

