If you have the units specified in some sort of parsable format, then rather than manually hard coding each, you could write a script which prints out to the command line those values in the form of...