On 8/1/18 7:43 AM, Ilkka Virta wrote: > On both Bash 4.4.12(1)-release and 5.0.0(1)-alpha, a subarray slice like > ${a[@]:0} expands to just one word if unquoted (and if IFS doesn't > contain a space):
Thanks for the report. I agree that ${a[@]:sub} should behave the same as ${@:sub}. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/