dntk 2.0.1

Command line's Interactive calculator, GNU bc wrapper.
docs.rs failed to build dntk-2.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: dntk-3.1.1

dntk

Travis CI v2.0.1 docker license platform

dntk is command line's Interactive calculator, GNU bc wrapper.
asciicast

✔︎ dntk means calculator in a japanese.
✔︎ dntk is gnu bc wrapper. so, syntax is equal to gnu bc. learn syntax more
✔︎ dntk is a NATIVE The Rust Programming Language application.
✔︎ dntk write color means,

Current dntk's version: v2.0.1

Download Page: https://github.com/nnao45/dntk/releases/latest

Install

Mac

$ brew install nnao45/dntk/dntk

Linux

$ wget https://github.com/nnao45/dntk/releases/download/v2.0.1/dntk-linux-amd64-v2.0.1.tar.gz
$ tar xvfz dntk-linux-amd64-v2.0.1.tar.gz

zplug

$ zplug 'nnao45/dntk', as:command, from:gh-r

And...

$ echo 'alias bc=dntk' >> ~/.bashrc
$ echo 'alias bc=dntk' >> ~/.zshrc

All OK!! 😎

Movable Cursor

Using Function

you can use under function.

more detail 👉 https://www.gnu.org/software/bc/manual/html_mono/bc.html

clean buffer

if you want to clean buffer, very easy, type r

asciicast

Pipe Use...

$ echo "123 * 2" | dntk | xargs echo
246

behave, like bc ☺️

Have a nice rust hacking days:sparkles::wink:

Writer & License

dntk was writed by nnao45 (WORK:Infrastructure Engineer, Twitter:@nnao45, MAIL:n4sekai5y@gmail.com).
This software is released under the MIT License, see LICENSE.