Public bug reported:
(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[@]}"
** Affects: bash (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376329
Title:
readarray doesn't work with pipes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1376329/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs