The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-11-2009
ruben.rodrigues ruben.rodrigues is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 45
Quote:
Originally Posted by radoulov View Post
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