if i hv to go for for a full fledged scientific calculator den can u suggest
any idea

On 11/10/08, Sharad Birmiwal <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, Nov 10, 2008 at 12:17 PM, DEEPESH <[EMAIL PROTECTED]>
> wrote:
> >
> > i want to implement a calculator using shell scrpting to overload the
> > inbulit calculator using bc command please help me with the startinhh
> > iam new to unix programming
>
> Hi Deepesh,
>
> I'll tell you how you can use bc to return the result of an expression
> (you can build a UI from there).
>
> $ echo "2 + 2" | bc
>
> and this will return 4. You can store that in a variable and then
> return it whichever way you want.
>
>
> HTH
> Sharad
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
[EMAIL PROTECTED] mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to