Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Alternate use of calc/bc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Alternate use of calc/bc
Authored by: evancm on Dec 31, '01 04:34:58PM
I prefer the calc contruct to using 'bc' raw, and because I'm using bash, the alias in the example given doesn't seem to work. So, I added this entry to my .profile to do this:
calc()
{
     echo $* | bc
}


[ Reply to This | # ]