arrays in bash





5
Date Submitted Fri. Jul. 20th, 2007 11:44 PM
Revision 1 of 1
Helper lavaramano
Tags arrays | bash | cli | gnu/linux
Comments 0 comments
how to handle arrays in bash

array=("a" "b" "c")
for i in `seq 0 2`; do echo ${array[$i]}; done;
 

mauro l

lusers.com.ar/
______________________
// a sphincter says what?

Comments

There are currently no comments for this snippet.

Voting

Votes Down