[SunHELP] decimals and ksh division

Phil Stracchino alaric at caerllewys.net
Fri Oct 17 16:56:16 CDT 2003


On Fri, Oct 17, 2003 at 10:26:06AM -0600, Luc I. Suryo wrote:
> > Thanks.  I found perl -e "print $NUM/10" worked too.
> :) that works too,,, i like (n)awk better in my ksh scripts then perl,
> less memory usage and faster too, but that is my own personal opnion

Yeah, invoking a Perl interpreter just to execute 'print $NUM/10' is
definitely in the sledgehammer-and-peanut category.


-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :



More information about the SunHELP mailing list