expect script - for argument loop ?
in ksh/bash I often use a for loop as in the following example:
Code:
for name in bob jim jacobo henric;do TIA!! cheers :) |
Quote:
|
Code:
foreach name {bob jim jacobo henric} { |
thanks folks jlinkels solution worked for me. I often embed expect inside of shell scripts but I couldn't get the for loop to work as expected.
cheers :) |
All times are GMT -5. The time now is 05:58 AM. |