Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
printing arrays and index
- X-seq: zsh-users 9125
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: printing arrays and index
- Date: Fri, 22 Jul 2005 19:08:32 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi,
I'm using
print -C 1 $filessubject
To display the contents of the above array one entry per line
(thanx to this a previous posting in this NG)
I know want to precede each array entry with it's index number 1,2,3, etc
how do?
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author