Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: playing with IFS



The following should do the trick:

output=( "aaa" "  bb  bb  " "ccc" )
output=(${(f)"$(cat <<< ${(F)output})"} )
print -rl $output


Output:
aaa
  bb  bb  
ccc

Philippe



Messages sorted by: Reverse Date, Date, Thread, Author