We have pondered the matter of listing all the units that have the
same value as a given unit, and we're not feeling like this is a
particularly useful capability.  For the most part, units tend to be
defined twice, once in a full name form and once in an abbreviated
form, and both definitions are adjacent in the database.

So unless you can convince us otherwise, we're not going to add this
feature.  

We have fixed the second issue of the doubled "/" when your home is
root.  

On Thu, Apr 09, 2020 at 04:22:37AM +0800, 積丹尼 Dan Jacobson wrote:
> X-Debbugs-Cc: adri...@gnu.org
> Package: units
> Version: 2.19-1
> Severity: wishlist
> 
> $ units --verbose are
>         Definition: 100 m^2 = 100 m^2
> should mention all the aliases of it, too, e.g., "a".
> 
> $ units --verbose foot
>         Definition: 12 inch = 0.3048 m
> $ units --verbose ft
>         Definition: foot = 12 inch = 0.3048 m
> 
> So we see there is no command to show all the aliases.
> We can see ft is short for foot,
> but we cannot see what, if any, foot is "long" for.
> 
> P.S., so --verbose (which currently does nothing above of course) should
> be given this new power, (and mention it on the man page.)
> 
> P.S.S.,
> 
> $ HOME=/ units --version
> GNU Units version 2.19
> with readline, with utf8, locale zh_TW
> Units data file is '/usr/share/units/definitions.units'
> Personal units data file is '//.units'
>   (file does not exist)      ^^
>                              ^^
> One slash is enough!         ^^

Reply via email to