Comment by punnerud

6 years ago

units

You have: mph

You want: kph

        * 1.609344

        / 0.62137119

I have

  alias units='units --verbose

in my shell rc which makes the output much more understandable:

  You have: mph
  You want: kph
          mph = 1.609344 kph
          mph = (1 / 0.62137119) kph

  • I find the reciprocal thing useless, so I have units='units --compact --one-line', which gives just the number you want.