The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
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 01-28-2008
naren_0101bits naren_0101bits is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 9
You people are right. But what i am trying is not numeric to numeric or string to string comparison. But it is like
$ VAR=25
And i want to check if $VAR is "25A" or not. Likewise
$ if [ $VAR == "25A" ] { .........} else { ..........}

And this is giving error.