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

Home -> Community -> Mailing Lists -> Oracle-L -> Unix variable question

Unix variable question

From: Sinardy Xing <SinardyXing_at_bkgcomsvc.com>
Date: Tue, 25 Feb 2003 01:28:42 -0800
Message-ID: <F001.00558124.20030225012842@fatcity.com>


Hi all,

Can someone help me understand this...

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

what is 2:-.

another similar code

ROOT # TEST=${1:-0}
ROOT # echo $TEST
ROOT # 0



they looks like emoticon for me

Thank you

Sinardy
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.com

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: 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 Tue Feb 25 2003 - 03:28:42 CST

Original text of this message

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