- This topic has 1 reply, 1 voice, and was last updated Jun 21-12:53 am by PDP-8.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Tips and Tricks › BC and DC calculators missing? Nope!
Tagged: calculator bc dc busybox
Missing the bc or dc calculators to run stand-alone or in a pipe, and don’t feel like going online to download them? Don’t worry – busybox is on board already to help. At least with 19.x of antiX and Debian’s more updated busybox version than in the past.
I run them stand-alone, especially on a bare CORE environment. Typically like this in a pipe hardcoded numerically or with variables:
echo 'scale=3; (8.905 - 2.93378)/1' | busybox bc
I think this is an *excellent* decision on the antiX dev’s part – those that truly need it can take advantage of BB without having to duplicate the effort for the small minority of those of us that still use and dig these calculators. 🙂
Historical note: dc (rpn version) was the first “app” on Unix V1 or so at ATT.
In fact, I like them so much I made soft-links (as root) in the /bin directory to busybox:
ln -s busybox bc
ln -s busybox dc
Heck, I even like the lightweight Busybox VI editor, although I still want VIM around just in case. I’ll use vi for the Busybox version, and vim for the heavyweight stuff.
Again, in the /bin directory as root:
mv vi vim
ln -s busybox vi
Ah, feel better now. 🙂
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |