zsh-users
 help / color / mirror / code / Atom feed
* selecting elements in array
@ 2005-04-21  3:43 Wataru Kagawa
  2005-04-21  6:06 ` Eric Mangold
  0 siblings, 1 reply; 3+ messages in thread
From: Wataru Kagawa @ 2005-04-21  3:43 UTC (permalink / raw)
  To: zsh-users

Hi all,

How do I select elements with indices that are multiples of 3, in an 
array?  For example, I have,

list=( 123 native Terminal 456 native Excel 789 native X11 )

and would like to select,

Terminal Excel X11

for compadd.  Help is much appreciated.

Wataru Kagawa


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

end of thread, other threads:[~2005-04-21  7:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21  3:43 selecting elements in array Wataru Kagawa
2005-04-21  6:06 ` Eric Mangold
2005-04-21  7:34   ` Bart Schaefer

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).