delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/20/13:13:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 20 Nov 2000 18:12:34 +0000 (GMT Standard Time)
From: Robert Bogomip <bob DOT bogo AT milohedge DOT com>
To: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
cc: <cygwin AT sources DOT redhat DOT com>
Subject: Re: Bash quits unexpectedly in cygwin 1.1.5-7
In-Reply-To: <4716-Mon20Nov2000135017+0000-starksb@ebi.ac.uk>
Message-ID: <Pine.WNT.4.30.0011201803370.1132-100000@pang>
X-X-Sender: iestyn AT blade DOT ox DOT mathengine DOT com
MIME-Version: 1.0

On Mon, 20 Nov 2000, David Starks-Browning wrote:

>
> On Monday 20 Nov 00, Robert Bogomip writes:
> > Doing "ls $(echo file)" causes bash to quit. Here is a quick session log:
> >
> >   PANG (~) $ ls
> >   1      buff-in.rc5  macros.rec
> >   PANG (~) $ # You can do this next line as often as you like
> >   PANG (~) $ echo $(echo 1)
> >   1
> >   PANG (~) $ #..But this will kill bash on the first or second go
> >   PANG (~) $ ls $(echo 1)
> >
> > This occurs for both bash 2.04-3 and 2.04-4 under cygwin 1.1.5-7. It
> > works OK (bash doesn't quit) under cygwin 1.1.4. Hmmmm.
>
> On Monday 20 Nov 00, Corinna Vinschen writes:
> >
> > This works in the latest developer snapshot. I can't reproduce it.
>
> I cannot even reproduce this with bash-2.04-4 and cygwin-1.1.5-7, so
> there must be something else going on.
>

I've just had another poke at this. So far I can only say that

  $ command1 `command2`

seems to be a problem where command1 is external and command2 is a
builtin. For example,

  $ ls `echo 1`

or

  $ diff `dirs`

breaks.

  $ ls `cat 1`

is fine.

This is definately OK on cygwin 1.1.4. It's 1.1.5-7 that seems to be the
problem (that's on Win2000 SP1). I've played with the path, PS1 setting,
aliases etc. etc. and nothing seems to affect it.
-- 
Robert Bogomip /// mailto:bob DOT bogo AT milohedge DOT com
Milo Hedge Ltd, OCFI, Mill Street, Oxford, OX2 0JX /// tel:+44 1865 799400


--
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