BASH question

Andy Green andy at warmcat.com
Thu Sep 7 07:22:47 UTC 2006


M.Lewis wrote:
> 
> I thought this was simple, but I've not yet been able to figure out what 
> is wrong.
> 
> #!/bin/sh
> 
> PERMINUTE=$((28.95/432000))

No floating point support :-)  But even then, be liberal with spaces

PERMINUTE=$(( 29 / 432000 ))

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060907/055b3e8a/attachment-0001.bin>


More information about the fedora-list mailing list