Show HN: bcal – Storage & general-purpose CLI calculator for programmers
github.com
github.com
It has a `bc` mode for general-purpose numerical calculations. Alternatively, it can also invoke `calc` which works better with expressions involving multiple bases.
The latest version 2.2 is released today.
### Features
- REPL and single execution modes
- evaluate arithmetic expressions involving storage units
- perform general purpose calculations (using bc or calc)
- works with piped input or file redirections
- convert to IEC/SI standard data storage units
- interactive mode with the last valid result stored for reuse
- show the address in bytes
- show address as LBA:OFFSET
- convert CHS to LBA and vice versa
- base conversion to binary, decimal and hex
- custom sector size, max heads/cylinder and max sectors/track
- minimal dependencies