[fun] Where is the 'bc' command?

Al Johnson openmoko at mazikeen.demon.co.uk
Mon Dec 28 14:18:29 CET 2009


On Monday 28 December 2009, Alexander Lehner wrote:
> Last time, some friends and me talked about the 'chinese rice-grain on a
> check-board problem' (putting 1 grain on the first field, 2 on the second,
> 4 on the 3rd and so on, up to the 64th field).
> 
> No problem - I thought, taking my FR and starting the commandline,
> searching for the 'bc' application, but without success ;(
> 
> It is obviously not part of busybox and also not available as opkg
> package.
> Does anyone know if it is available somehow (without building it myself
> from scratch)?
> 
> Well, I finally achieved it by visiting www.wolframalpha.com, but that's
> not quite so elegant ;)

I assume you're using shr as I can't believe debian would be missing this.
It is in OE so I guess it just isn't in the shr feeds. File a bug report and 
I'm sure they'll add it. Once that's done 'opkg install bc' should do the 
trick.



More information about the devel mailing list