zsh-users
 help / color / mirror / code / Atom feed
* "joining" an array with tabs (default is space)
@ 2008-12-09 19:27 Webb Sprague
  2008-12-09 19:40 ` Peter Stephenson
  2008-12-10  7:00 ` Stephane Chazelas
  0 siblings, 2 replies; 5+ messages in thread
From: Webb Sprague @ 2008-12-09 19:27 UTC (permalink / raw)
  To: zsh-users

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!


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-10 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-09 19:27 "joining" an array with tabs (default is space) Webb Sprague
2008-12-09 19:40 ` Peter Stephenson
2008-12-09 19:47   ` Webb Sprague
2008-12-10  7:00 ` Stephane Chazelas
2008-12-10 13:05   ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).