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

"joining" an array with tabs (default is space)



Hi all,

If I set IFS='\t', it works great with read -A LINE.  However I want
to join the output using '\t' instead of spaces-- is there a simple
way to do that?  I can write a for loop, or maybe recycle print -f
"\t%s", or maybe use columns in the print, but I was hoping for a
super graceful (ie typical zsh) approach.

Thanks!



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