26
FARR Plugins and Aliases / Alias: convert units (with Units)
« on: July 15, 2010, 03:14 PM »
Someone asked for this so nicely: :P
https://www.donationcoder.com/forum/index.php?topic=8071.msg212665#msg212665
that I have patched up a simple unit converter alias with the use of GNU units program
http://en.wikipedia.org/wiki/Units_%28software%29
(wiki lists the windows binary link - you need to install it and/or GNU-WIN).
Here it is:
Naturally, you may need/want to modify the path and the expression.
Usage:
units 100 miles/hour to km/hour
Result:
* 160.9344
/ 0.0062137119
https://www.donationcoder.com/forum/index.php?topic=8071.msg212665#msg212665
that I have patched up a simple unit converter alias with the use of GNU units program
http://en.wikipedia.org/wiki/Units_%28software%29
(wiki lists the windows binary link - you need to install it and/or GNU-WIN).
Here it is:
1000>>>units>->showmemo Result:;;;appcapappendmemo C:\Program Files\Editing\GnuWin32\bin\units.exe "$$1" "$$2">+>units (.*) to (.*)
Naturally, you may need/want to modify the path and the expression.
Usage:
units 100 miles/hour to km/hour
Result:
* 160.9344
/ 0.0062137119