On Thu, 11 Oct 2001, Chuck wrote:
> Here is a snippet:
> printf "%20d bytes free in $phost:/var/tmp<BR>\n", $freespace;
> printf "$shipsize bytes being shipped.<P>\n";
>
> Here is the output:
> -1012379648 bytes free in smh4:/var/tmp
> 359731200 bytes being shipped.
It's because 3282567168, apparently, is too big to be printed as an
integer value. But this works:
$ perl -e 'printf "%20.f\n", 3282567168'
3282567168
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
Nasrudin walked into a teahouse and declaimed, "The moon is more useful
than the sun."
"Why?", he was asked.
"Because at night we need the light more."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]