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

Home -> Community -> Mailing Lists -> Oracle-L -> OT: Korn Shell and arithemetic

OT: Korn Shell and arithemetic

From: <ryan.gaffuri_at_comcast.net>
Date: Wed, 23 Jun 2004 17:57:12 +0000
Message-Id: <062320041757.21438.40D9C478000BD3D8000053BE2200762302079D9A00000E09D2020E979D@comcast.net>


Tim,

what does this syntax mean?

    $ if [[ "`bc << __EOF__^J1.2 > 1.0^J__EOF__`" = "1" ]]
> then
> echo yes
> else echo no
> fi

    yes

    $ if [[ "`bc << __EOF__^J1.2 > 1.3^J__EOF__`" = "1" ]]
> then
> echo yes
> else echo no
> fi



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jun 23 2004 - 12:54:02 CDT

Original text of this message

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