[Touch-packages] [Bug 1760358] Re: Bash read into array is not working

2018-08-16 Thread Simon Tideswell
Ah!!! Actually, this does work, $ simon=( $( ls -1 /usr ) ) $ echo ${#simon[@]} 8 $ echo ${simon[@]} bin games include lib local sbin share src This will still cause scripts in the wild to break. But at least there's a workaround. Simon -- You received this bug notification because you are a

[Touch-packages] [Bug 1760358] Re: Bash read into array is not working

2018-08-16 Thread Simon Tideswell
Hello This still affects Bionic final release version: Ubuntu 18.04.1 LTS, bash 4.4.19(1). Using bash's array capabilities in this way is extremely useful and being unable to use it makes bash scripting much harder work. I'm surprised such a serious issue remains unfixed some 4 months after