Cameron Simpson wrote:
> 
> On Mon, Feb 19, 2001 at 12:36:52AM -0500, Anthony Capone <[EMAIL PROTECTED]> wrote:
> | I need something that I can call in a script...bc would be kind of hard to
> | do, I think....
> 
> You think wrong:
> 
>         foo=`echo "2 / 3" | bc`
> 

foo=`echo "scale = 5; 2 / 3" | bc` 

Worked better for me.  This is pretty cool stuff.  I never heard of bc
before.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to