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.
Tait Hoyem
159002331e
|
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
ccon | 3 years ago |
README.md
ccon
ccon
is a currency converter.
It uses the standard "units" utility.
Once installed via the units
package in most repositories, you may use ccon
to avoid some of the weird syntaxes used by units
.
After installing units
, run the units_cur
command to get a current table of currency conversions.
You may want to occasionally run units_cur
again just to make sure you're up to date.
To use this script, use the following format: ccon <number of base currency> <base currency> <currency to convert to>
; examples:
$ ccon 1 USD CAD
1.25
$ ccon 1 CAD USD
0.80
$ ccon 1 CAD TWD
22.08
$ ccon 52 AUD GBP
27.48
$ ccon 22.37 USD NZD
33.03
Have fun!