Hello Sinardy,

Tuesday, February 25, 2003, 3:28:42 PM, you wrote:

SX> Hi all,

SX> Can someone help me understand this...

SX> ROOT # TEST=${2:-.}
SX> ROOT # echo $TEST
SX> ROOT #.

SX> what is 2:-.

The construction ${A:-B} is just like oracle nvl function. If variable
A is defined and not null then result is A else B.

-- 
Best regards,
 Sergey                            mailto:[EMAIL PROTECTED]
 ICQ 160079606


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Sergey V Dolgov
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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