[Bug 1376329] Re: readarray doesn't work with pipes
Matthias Klose
doko at ubuntu.com
Wed Jun 21 14:50:29 UTC 2017
** Changed in: bash (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1376329
Title:
readarray doesn't work with pipes
Status in bash package in Ubuntu:
Invalid
Bug description:
(echo one 1 ; echo two 2 ; echo three 3) > /tmp/foo
#works
readarray blah < /tmp/foo
echo "${blah[@]}"
# doesn't work:
unset blah
cat /tmp/foo | readarray blah
echo "${blah[@]}"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1376329/+subscriptions
More information about the foundations-bugs
mailing list