[NTLUG:Discuss] bash shell array question...
Victor Brilon
victor at vail.net
Tue Feb 26 19:15:27 CST 2002
Can you post some code showing exactly what you mean? Sounds like
you're running into a variable scope problem maybe.
Victor
On 26-Feb-2002 Fred James wrote:
> Within a while loop, strings are assigned to the elements of an
> array,
> and the index variable is incremented.
>
> Once the loop completes, the value of the index variable is zero.
>
> What is happening?
>
> --
> ...make every program a filter...
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
--
Victor Brilon
victor at vail.net
http://www.victorland.com
Thought for the day --
"The real reason I don't have to tune or break strings
is because of the pact with the devil that I made.
That's just one of the clauses in the pact with the
devil. Actually, contract negotiations for artists have
improved since Robert Johnson. You gotta have a good
lawyer when you're dealing with the devil.
My contract is way better than Robert Johnson's."
- Trey Anastasio
of Phish
More information about the Discuss
mailing list