[geeks] expr and math
Sandwich Maker
adh at an.bradford.ma.us
Wed Sep 22 09:23:29 CDT 2004
" From: "Jonathan C. Patschke" <jp at celestrion.net>
"
" On Wed, 22 Sep 2004, Scott Howard wrote:
"
" > ksh% print $((90 * 10000000000000000000000))
" > 1803387784686206976
"
" This is fixed in ksh93.
"
" [jp at banshee:/home/jp]$ print $((90 * 10000000000000000000000))
" 9e+23
and if you have cde, dtksh is ksh93 [plus x stuff]. also,
research.att.com now gives ksh93 src and bins away.
ksh88 had a FLOAT compile-time option, off by default because it was
broken. it was finally fixed in 88i though, but still left off.
other nice but off-by-default options are csh-style BRACEPAT and FS_3D
for nmake-style VIEWPATHing.
________________________________________________________________________
Andrew Hay the genius nature
internet rambler is to see what all have seen
adh at an.bradford.ma.us and think what none thought
More information about the geeks
mailing list