> But in fact, --terse should say:
> 
>        -t, --terse
>               Print only a single conversion factor.  This option can be  used
>               when  calling  units  from another program so that the output is
>               easy to parse.  This option has the combined effect of these op‐
>               tions:   ‘--strict’  ‘--quiet’  ‘--one-line’  ‘--compact’.  When
>               combined with ‘--version’ it produces a display showing only the
>               program name and version number. And here we even strip
>               the units off:
> 
>               $ units --terse mile meters
>               1609.344

I think you're not fully understanding what's going on.  There is
no unit to "strip off".  If you don't use --terse, this is what happens:

adrian> units mile meters
        * 1609.344
        / 0.00062137119

Note that no unit appears.  You get the other clutter, but no units,
because conversions DO NOT HAVE UNITS.  

Definitions have units.  You were trying to use a definition when you
should have been using a conversion.  In any case some additional
explanation and examples won't hurt, so I'll try to elaborate on this
in the manual.

For definitions, actually, the output can be even more cluttered:

adrian> units --terse mile
5280 ft = 1609.344 m

Reply via email to