Re: [PATCH 1/2] time.7: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi наб,


On 1/29/22 20:10, наб wrote:
> "HZ" is the constant, and has nothing to do with the 50Hz PAL/60Hz NTSC
> field/mains frequencies
> 
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
> ---
>  man7/time.7 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man7/time.7 b/man7/time.7
> index 830da7ea8..95573796c 100644
> --- a/man7/time.7
> +++ b/man7/time.7
> @@ -92,7 +92,7 @@ configuration parameter and can be 100, 250 (the default) or 1000,
>  yielding a jiffies value of, respectively, 0.01, 0.004, or 0.001 seconds.
>  Since kernel 2.6.20, a further frequency is available:
>  300, a number that divides evenly for the common video
> -frame rates (PAL, 25 HZ; NTSC, 30 HZ).
> +frame rates (PAL, 25Hz; NTSC, 30Hz).

The change to lowercase is correct, but I'm not convinced by the removal
of the space.  The SI says that there should be a space, and while there
are some cases where readability is considerably improved by removing
the space, I think this is not one of those.

See the SI draft (2006):

5.3.3 Formatting the value of a quantity
       The numerical value always precedes the unit, and a space
       is  always  used  to  separate  the unit from the number.
       Thus the value of the quantity is the product of the num‐
       ber and the unit, the space being regarded as a multipli‐
       cation sign (just as a space between units implies multi‐
       plication).  The only exceptions to this rule are for the
       unit symbols for degree, minute, and second for plane an‐
       gle, °, ′, and ′′, respectively, for which  no  space  is
       left between the numerical value and the unit symbol.

       This rule means that the symbol °C for the degree Celsius
       is  preceded by a space when one expresses values of Cel‐
       sius temperature t.

       Even when the value of a quantity is used  as  an  adjec‐
       tive, a space is left between the numerical value and the
       unit  symbol.   Only when the name of the unit is spelled
       out would the ordinary rules of grammar apply, so that in
       English a hyphen would be used  to  separate  the  number
       from the unit.

       In  any one expression, only one unit is used.  An excep‐
       tion to this rule is in expressing the values of time and
       of plane angles using non-SI units.  However,  for  plane
       angles  it  is  generally preferable to divide the degree
       decimally.  Thus one would write 22.20° rather  than  22°
       12′,  except  in  fields such as navigation, cartography,
       astronomy, and in the measurement of very small angles.

<https://www.bipm.org/documents/20126/41483022/si_brochure_8.pdf>

Cheers,

Alex

>  .PP
>  The
>  .BR times (2)

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux