Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"joining" an array with tabs (default is space)
- X-seq: zsh-users 13562
- From: "Webb Sprague" <webb.sprague@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: "joining" an array with tabs (default is space)
- Date: Tue, 9 Dec 2008 11:27:38 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=oRRyfyxe5evo0uvg6Hpo7lO1ssuH46UMD84Dt90h28Q=; b=Kr87oNRyGgkYy5/okbEr6oqxstYpuxmgSYdgVoqz9fmTEXl1Jq81IBTcsE1Mhl4xCR gIAjF6SUMtiZkQ+fl26juzvW2nCRtO4+n2NlxE3lNnIwDitcXxZ0x4hzjNOfAfErQXVZ 5QvOQuqPLsJiJrENPiXZmqceXJplp+cRM/XNI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Hz3FaQ2sonuI7JQzyKLHI2aW/E14rLuj+AMfCQ4gmM3NUXd0G28bKcD5MTA+y7c7e3 uPoD/A5yuBBbRTdfbFnFTkn/EYoF3XsBz3etd4yWsUM5WSiJ809JDtYqv+KoSeS4P7az actsc43LhkNj7t7/GYFk3qMJ/laULMkopd/TU=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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