Your message dated Fri, 29 Apr 2022 17:45:34 +0200
with message-id <[email protected]>
and subject line Re: Bug#946574: --comformable implemented, close bug
has caused the Debian Bug report #946574,
regarding Add --conformable option to output all conformable units
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
946574: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946574
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
X-debbugs-Cc: [email protected]
Package: units
Version: 2.19-1
Severity: wishlist
Idea:
Let's say we found some mysterious scale, but cannot figure out what
units it is reporting in.
We reach into our pocket and place an e.g., 3.75 gram coin upon it...
Let's say we observe the scale says "0.120". Well running
$ for i in pound dram carat grain oz tailiang kin liang troypound \
troyounce pennyweight jewelerspoint momme g apscruple;\
do units --one-line --verbose 3.75g $i; done | sort -k 3n | column -t
3.75g = 0.00625 kin
3.75g = 0.0082673348 pound
3.75g = 0.010047108 troypound
3.75g = 0.036075643 liang
3.75g = 0.1 tailiang
3.75g = 0.1205653 troyounce
3.75g = 0.13227736 oz
3.75g = 1 momme
3.75g = 2.1164377 dram
3.75g = 2.411306 pennyweight
3.75g = 2.8935672 apscruple
3.75g = 3.75 g
3.75g = 18.75 carat
3.75g = 57.871344 grain
3.75g = 1875 jewelerspoint
tells us the scale is probably talking in troyounces!
Problem is: all weight related units are hopelessly scattered around the
units file. We need to find each one by hand.
Well with a new --conformable flag, we could instead do
$ for i in $(units --conformable g); do ...
for the same effect.
$ units --conformable feet
yard km ft m mile ....
$ units --conformable gallon
liter pint gallon ...
--- End Message ---
--- Begin Message ---
On Sun, 24 Apr 2022 10:35:51 -0400, Adrian Mariano <[email protected]> wrote:
> The --conformable option was added in 2.20 and the example script
> added to the manual. Close the bug.
Done!
Regards,
Stephen
pgp29h1AWN2D_.pgp
Description: OpenPGP digital signature
--- End Message ---