You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
401 B

Unit conversion v0.1.0
by Avril <flanchan@cumallover.me> with <3 (license GPL3+)
This program takes a value with a unit and outputs the smallest value corresponding to that type to `stdout`. It then outputs the multiplyer used to convert this unit to `stderr`, if there is one needed.
usage: units <unit> <value>
usage: units --help
Units:
BYTES Convert byte unit (k, m, g, p) into single bytes