Hacker News new | ask | show | jobs
by tmtvl 352 days ago
If you only need the first line you can invoke units with --terse.

  $ units --terse 2.4kWh megajoules
  8.64