[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: OT: EXPR [SOLVED]
- From: "Anthony Capone" <capone cap1 net>
- To: <redhat-list redhat com>
- Subject: Re: OT: EXPR [SOLVED]
- Date: Mon, 19 Feb 2001 16:45:23 -0500
THANK YOU...that is exactly what I was looking for!!!
Anthony
----- Original Message -----
From: "Bret Hughes" <bhughes elevating com>
To: <redhat-list redhat com>
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
<capone cap1 net> 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
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]