NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/46295: annoying behavior in units(1)
>Number: 46295
>Category: bin
>Synopsis: annoying behavior in units(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 05 07:00:00 +0000 2012
>Originator: David A. Holland
>Release: NetBSD 6.99.3 (20120227)
>Organization:
>Environment:
System: NetBSD macaran 6.99.3 NetBSD 6.99.3 (MACARAN) #11: Mon Feb 27 17:12:40
EST 2012 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:
macaran% units
531 units, 41 prefixes
You have: km/h
You want: mph
conformability error
10 m
0.44704 m / sec
You have: km/h
You want: m
* 10
/ 0.1
You have: ^D
macaran%
Units treats "km/h" as kilometers per hecto-nothing, aka dekameters,
rather than as kilometers per hour, for which it's a very standard
abbreviation.
This would be one thing if "h" were some valid other unit, but
freestanding SI prefixes are not units.
>How-To-Repeat:
As above.
>Fix:
Dunno.
Home |
Main Index |
Thread Index |
Old Index