THANK YOU...that is exactly what I was looking for!!!
Anthony
----- Original Message -----
From: "Bret Hughes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 11:51 AM
Subject: Re: OT: EXPR
> 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
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list