Thanks to everybody who answered. I had 2 errors - first I needed to put
spaces before and after = and next I named the script as test and my
directory was not first in the PATH and I did not use ./test - so it picked
different test - Was too tired in the end of the day (or maybe this is
something different :-) )

Alex Hillman

-----Original Message-----
Sent: Wednesday, June 27, 2001 6:50 PM
To: Multiple recipients of list ORACLE-L


17:17:14:oracle8i@coin-app:/u07/export8i:ORUNDEF
513-> userid=xxy
17:17:26:oracle8i@coin-app:/u07/export8i:ORUNDEF
514-> if [ $userid=xxx ]; then echo 'aaa'; else echo 'bbb'; fi
aaa
17:17:51:oracle8i@coin-app:/u07/export8i:ORUNDEF
515->


why does it print aaa instead of bbb?

Alex Hillman
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to