How do I increment a variable so it chooses differnet lines from a text files in a While Loop.

Posted by Kirk on Stack Overflow See other posts from Stack Overflow or by Kirk
Published on 2010-03-31T21:33:41Z Indexed on 2010/03/31 21:53 UTC
Read the original article Hit count: 214

Filed under:

I have a script im writing. Here is whats happening. There is a while loop. In the while loop is a variable which is constant to X. How do i make X change from line one, line two, etc for each cycle of the while loop and pull X from a .txt file. Everything is in root. Thanks

© Stack Overflow or respective owner

Related posts about while-loops