|
while loop in /bin/sh
Hi!
I want my script to enter in a while cicle. And I did a:
var=0
while [$var < 1]
do
echo "while"
done
this is very simple because it's just for testing
So what I think that was suppost to happen was
while
while
while
while
while
while
....
....
while
BUT nothing
what is wrong in my while
thanks
|