DonationCoder.com Software > FARR Plugins and Aliases
Alias: convert units (with Units)
(1/1)
Jabberwock:
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:
--- ---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
tomos:
:Thmbsup: this sounds very nice :D
Navigation
[0] Message Index
Go to full version