[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: builtin echo command redirection misbehaves in detached scripts when
From: |
Stephane Chazelas |
Subject: |
Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed |
Date: |
Sun, 9 Sep 2007 19:10:59 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
On Sun, Sep 09, 2007 at 07:36:52PM +0200, Andreas Schwab wrote:
> Stephane Chazelas <Stephane_Chazelas@yahoo.fr> writes:
>
> > Bonjour Pierre-Philippe,
> >
> > can be reproduced with 3.2.25 and with:
> >
> > bash -c 'trap "" PIPE; sleep 1; echo a; echo b > a' | :
>
> I get this:
>
> $ bash -c 'trap "" PIPE; sleep 1; echo a; echo b > a' | :
> bash: line 0: echo: write error: Broken pipe
>
> and the file contains only one line.
[...]
Hi Andreas,
What OS and version of glibc? I do get the error message but I
get both a and b in the file.
That was on Linux, glibc 2.6.1.
--
Stéphane
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Stephane Chazelas, 2007/09/09
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Andreas Schwab, 2007/09/09
- Message not available
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed,
Stephane Chazelas <=
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Stephane Chazelas, 2007/09/09
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Andreas Schwab, 2007/09/09
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Stephane Chazelas, 2007/09/09
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Pierre-Philippe Coupard, 2007/09/09
- Re: Bug#429021: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Aurelien Jarno, 2007/09/10
- Re: Bug#429021: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Stephane Chazelas, 2007/09/10
- Re: Bug#429021: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Dmitry Potapov, 2007/09/10
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Dmitry Potapov, 2007/09/10
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Stephane Chazelas, 2007/09/10
- Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed, Dmitry Potapov, 2007/09/10