Welcome Guest.   Make a donation to an author on the site November 21, 2014, 04:24:44 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Alias: convert units (with Units)  (Read 2298 times)
Jabberwock
Participant
*
Posts: 71

View Profile Give some DonationCredits to this forum member
« on: July 15, 2010, 03:14:52 PM »

Someone asked for this so nicely:  tongue

http://www.donationcoder....=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:

[copy or print]
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
« Last Edit: July 15, 2010, 03:19:28 PM by Jabberwock » Logged
tomos
Charter Member
***
Posts: 8,689



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: July 15, 2010, 03:23:34 PM »


Thmbsup this sounds very nice cheesy
Logged

Tom
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.025s | Server load: 0.1 ]