Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Wher is an error ?

RE: Wher is an error ?

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Wed, 27 Jun 2001 16:30:11 -0700
Message-ID: <F001.0033B260.20010627163350@fatcity.com>

Ralax, Alex, It's syntax !!

The = sign in ($userid=xxx) needs a space before and after it. ..

Happy Scripting!!!

> -----Original Message-----
> From: Hillman, Alex [SMTP:Alex.Hillman_at_usmint.treas.gov]
> Sent: Wednesday, June 27, 2001 5:50 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Wher is an error ?
>
> 17:17:14:oracle8i_at_coin-app:/u07/export8i:ORUNDEF
> 513-> userid=xxy
> 17:17:26:oracle8i_at_coin-app:/u07/export8i:ORUNDEF
> 514-> if [ $userid=xxx ]; then echo 'aaa'; else echo 'bbb'; fi
> aaa
> 17:17:51:oracle8i_at_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: Alex.Hillman_at_usmint.treas.gov
>
> 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: ListGuru_at_fatcity.com (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: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.com

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: ListGuru_at_fatcity.com (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).
Received on Wed Jun 27 2001 - 18:30:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US