Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. benteo

    simple read in loop

    Thanks guys...I finally find out the problem is due to the ssh2 remote call. The ssh2 call to a host and execute a shell command. The above original script will exit the outter loop upon the first execution. I am still looking into why.
  2. benteo

    simple read in loop

    In addition to the above situation, how could I control the following case. read /etc/passwd while do something read in a tmp.file while do something else done < tmp.file done </etc/passwd the outter loop stopped without reading in the second line and so on from /etc/passwd file

Part and Inventory Search

Back
Top