Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> OT: Korn Shell and arithemetic
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
-- 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
![]() |
![]() |