On 10/8/19 9:43 AM, Webstrand wrote:
> When running the following script under bash-4.4.0 to bash-4.4.23 it
> seems to fail erroneously on read.
>
> set -x
> set -o pipefail
> shopt -s lastpipe
>
> main() {
> # Any input piped into while such that the condition
> # succeeds at lea
When running the following script under bash-4.4.0 to bash-4.4.23 it
seems to fail erroneously on read.
set -x
set -o pipefail
shopt -s lastpipe
main() {
# Any input piped into while such that the condition
# succeeds at least once.
echo "x" | while read; do
echo | read