On Mon, 30 Jun 2003 05:30:14 +0200, Sebastian Kapfer wrote:

> n=1
> while [ $n \< 9 ]; do
>       echo $n
>       n=$((n+=1))
> done
> 
> Note the backslash. Plain < is for redirection. Interesting to see that I
> never ran into this thing, because I'm used to != from C++ :-)

Of course \< is still wrong, should be -lt

-- 
Best Regards,   |   Hi! I'm a .signature virus. Copy me into
 Sebastian      |   your ~/.signature to help me spread!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to