The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Error in scripts
.
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
:
Error in scripts
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
07-16-2008
joeyg
modérateur
Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
is equals ??
If this is a unix script, then -eq is for integers.
Perhaps
Code:
if ( "$p_region" -eq 'ESAP' )
should be
Code:
if [ "$p_region" = "ESAP" ]
???
joeyg
View Public Profile
Find all posts by joeyg
Find joeyg's past nominations received
Find joeyg's present nominations given