The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
String comparison
.
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
:
String comparison
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-10-2009
zaxxon
Moderator
Join Date: Sep 2007
Location: Germany
Posts: 2,311
Use CODE-tags when posting code, data or logs for better readability and in this case for keeping formatting/indention, ty.
Change the = vs == and try again. If it still does not work, try double square brackets ie. [[ ]].
More to read up here:
Tests
zaxxon
View Public Profile
Find all posts by zaxxon
Find zaxxon's past nominations received
Find zaxxon's present nominations given