delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/25/13:44:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <4.3.2.20000225134510.00d01e60@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3
Date: Fri, 25 Feb 2000 13:46:26 -0500
To: Rick Rankin <rick_rankin AT yahoo DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Problem with bash command substitution?
Cc: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT hotpop DOT com>
In-Reply-To: <20000225184216.27967.qmail@web804.mail.yahoo.com>
Mime-Version: 1.0

At 01:42 PM 2/25/00, you wrote:
>I discovered that bash is hanging on the following line in my .bash_profile:
>
>export NODE=$(hostname | tr 'A-Z' 'a-z')
>
>If I type 
>
>hostname | tr 'A-Z' 'a-z'
>
>on the command line, it returns immediately with the results I expect. It only
>seems to hang inside the $() or `` command substitution mechanism. I currently
>have
>
>CYGWIN=tty notitle glob ntea nontsec
>
>and I have all text mounts. I'm using the latest snapshot. Has anyone else seen
>this behavior?
>
>Rick
>--
>Rick Rankin
>rick_rankin AT yahoo DOT com
>__________________________________________________



You sure you're getting the Cygwin version of hostname and not the NT?



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                        (508) 560-1285 - cell phone



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019