[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: errexit inconsistent behaviour with pipelines
From: |
Chet Ramey |
Subject: |
Re: errexit inconsistent behaviour with pipelines |
Date: |
Mon, 6 Oct 2008 16:09:49 -0400 |
> That's the case that's behaving correctly, even though it's not the
> way you want it to behave. Neither case should terminate the shell.
> Only a simple command should terminate the shell, and a pipeline is
> not a simple command, even if its components are. Chet is saying that
> the next bash release will fix this bug - meaning that "true | false"
> will no longer cause the shell to exit.
Yes. I'm sorry that I was not as clear as I should have been.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/