Read value from text file line, process, then Loop until EOF
I have a simple text file that contains a list of hostnames and each are on
their own seperate line.
I'm having a great deal of trouble figuring out how code a way to begin
reading the file on the first line, pass the value into a variable, perform a
command using the variable, then LOOP back to read the next line and so on
until EOF.
Any help would be greatly appreciated!!!
Thanks,
Pcola
|