derelict888
February 12th, 2010, 07:41 PM
I've got a problem with a conditional statement in one of my while loops, bad syntax I'm sure;
while [ "$c" <= "$j" ] ; do
I want the statement to work like "while var c is less than or equal to var j, continue. This statement is getting passed to a host via SSH (if that might change how to write this out).
Thanks for any help, the rest of my code is fine since I've tested it, I've got just this conditional wrong.
while [ "$c" <= "$j" ] ; do
I want the statement to work like "while var c is less than or equal to var j, continue. This statement is getting passed to a host via SSH (if that might change how to write this out).
Thanks for any help, the rest of my code is fine since I've tested it, I've got just this conditional wrong.