incrementing variable in an until loop
What's wrong with this?
Code:
x=1; Code:
/bin/getphone: line 6: 1=30: command not found Greatly appreciate any assistance... Jeff |
You need to use let to do arithmetic in bash:
let "x = $x + 1" That "until" syntax doesn't look right either. Try until [ $x -eq 30 ]; do |
Excellent!
Thank you!! Now for the next problem....new thread... |
All times are GMT -5. The time now is 05:51 AM. |