Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

kragen posted a several of excellent comments highlighting the capabilities of GNU Units a couple of months back, these two in particular:

<https://news.ycombinator.com/item?id=36988917>

<https://news.ycombinator.com/item?id=36995046>

And Trey Harris's "500 mile email" story is what clued me on to GNU units and its capabilities.

Reminder: if you're on MacOS, or one of the BSDs, your default units is from BSD, not the GNU version, and is far less capable. GNU units can be installed on MacOS through Homebrew. The package is "gnu-units", the command is "gunits" once installed.

Edit: Corrected Homebrew package name.



GNU Units is also available in FreeBSD ports, just type "pkg install units" (or go to /usr/ports/math/units and "make install"). It likewise gets the binary name "gunits"


It's also in chocolatey for windows


Should also be in Cygwin as well as be installable through WSL.

(I've not touched MS Windows in a couple of decades now.)


Actually,

brew install gnu-units


Gah! Thanks, corrected above.

(I run the command far more often than I install the package.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: