bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bash-bug] A note for read builtin


From: Dr. Werner Fink
Subject: Re: [bash-bug] A note for read builtin
Date: Thu, 24 Jun 2010 09:37:08 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jun 23, 2010 at 12:08:20PM +0200, Werner Fink wrote:
> 
> Yet an other version of the patch to avoid trouble with the
> coproc builtin tested out in tests/coproc.tests.  There is one
> difference more with tests/redir.tests at
> 
>   exit 3 | $EXIT > $TMPDIR/null-redir-e
>   echo $? -- address@hidden
>   testf $TMPDIR/null-redir-e
> 
>   exit 4 | > $TMPDIR/null-redir-f
>   echo $? -- address@hidden
>   testf $TMPDIR/null-redir-f
> 
> which now reports
> 
>   0 -- 3 0
>   0 -- 4 0
> 
> instead of
> 
>   0 -- 0
>   0 -- 0
> 
> but seems to me ok.

One change more is required for an interactive bash
that is that building pipes used for pgrps synchronization
should be stop for the last command as this last one
is now the parent its self.

     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: bash-4.1-pipe.dif
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]