Aargh. Twenty years of shell programming, and still I'm making rookie mistakes when it comes to quoting. The answer is of course: % print -l "$rlines[@]"