The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
while loop in /bin/sh
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
while loop in /bin/sh
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
03-11-2009
ruben.rodrigues
Registered User
Join Date: Jan 2009
Posts: 45
Quote:
Originally Posted by
radoulov
Change this:
Code:
[$var -lt 1]
to this
Code:
[ $var -lt 1 ]
You need a space after the opening bracket and another one before the closing one.
MANNNNNN no way. lol I lost sooooo many time and was just a space. lol
thanks
ruben.rodrigues
View Public Profile
Find all posts by ruben.rodrigues
Find ruben.rodrigues's past nominations received
Find ruben.rodrigues's present nominations given