X-Spam-Check-By: sourceware.org Message-ID: <438B065E.1000106@equate.dyndns.org> Date: Mon, 28 Nov 2005 13:30:06 +0000 From: Chris Taylor Reply-To: cygwin AT cygwin DOT com User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Norton Internet Security and Cygwin: What settings for NIS? References: <20051127150708 DOT 87610 DOT qmail AT web35709 DOT mail DOT mud DOT yahoo DOT com> <438AD84E DOT 3000508 AT equate DOT dyndns DOT org> <438B058B DOT 7020601 AT byu DOT net> In-Reply-To: <438B058B.7020601@byu.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Blake wrote: > -----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 ``. > The reason I mentioned it is that I'm told that the `` syntax is deprecated (and has been for some time), at least in scripts, ergo it makes sense to be moving to the newer one.. You're right though, it is a lot easier to read and nest, and vastly easier to read it when nested.. Chris -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to go? -- 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/