What's wrong with this?
Code:
x=1;
until $x=30;
do
grep blah blah blah blah blah...;
sed blah blah blah blah;
x=$x+1;
done;
Becuase this is what I get...
Code:
/bin/getphone: line 6: 1=30: command not found
/bin/getphone: line 6: 1+1=30: command not found
/bin/getphone: line 6: 1+1+1=30: command not found
/bin/getphone: line 6: 1+1+1+1=30: command not found
/bin/getphone: line 6: 1+1+1+1+1=30: command not found
/bin/getphone: line 6: 1+1+1+1+1+1=30: command not found
/bin/getphone: line 6: 1+1+1+1+1+1+1=30: command not found
I'm trying to fix a "script" from another thread, and I can't figure out how to run the commands within the loop 30 times and stop and exit...
Greatly appreciate any assistance...
Jeff