This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with bash command substitution?


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@yahoo.com
>__________________________________________________



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



Larry Hall                              lhall@rfk.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]