groff-commit
[Top][All Lists]
Advanced

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

Re: [groff] 02/02: nroff.1.man: Make editorial fixes.


From: Ingo Schwarze
Subject: Re: [groff] 02/02: nroff.1.man: Make editorial fixes.
Date: Mon, 1 Jul 2019 16:42:10 +0200
User-agent: Mutt/1.8.0 (2017-02-23)

Hi Branden,

G. Branden Robinson wrote on Mon, Jul 01, 2019 at 09:25:21AM -0400:

> commit ee0ce46b39879ef6d9e6c866bbe0818b3b3f4b7d
> Author: G. Branden Robinson <address@hidden>
> Date:   Mon Jul 1 22:37:23 2019 +1000
> 
>     nroff.1.man: Make editorial fixes.
[...]
>     * Sort lists of options in locale collation order.

I know this is a really minor point - but i don't understand this change:

   $ LC=C printf "a\nA\n" | sort
  A
  a
   $ LC=en_US.UTF-8 printf "a\nA\n" | sort
  A
  a

The above holds independently of the operating system - i tested
OpenBSD, Debian Linux, and Solaris, and on the latter two also
with a couple of non-English locales.  Also,

  https://man.openbsd.org/POSIX-2013/ls
  https://man.openbsd.org/4.4BSD-Lite2/ls
  https://man.openbsd.org/FreeBSD-12.0/ls
  https://man.openbsd.org/DragonFly-5.4.2/ls
  https://man.openbsd.org/OpenBSD-6.5/ls
  https://man.openbsd.org/NetBSD-8.0/ls
  
https://www.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.cmds3/ls.htm

So the convention "capital before small" appears to be ubiquitous
in POSIX and *BSD, even though some use ASCII ordering ABCabc and
some use the POSIX collation order AaBbCc.

The only system i was able to find with "small before capital"
is Solaris/illumos.  Linux appears to have no clear convention:
most often, ordering is totally random in Linux manual pages.

So why did you change the order?

Yours,
  Ingo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]