GNU bug report logs - #35343
sort: printing characters: define

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 20 Apr 2019 13:55:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 35343 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#35343; Package coreutils. (Sat, 20 Apr 2019 13:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 20 Apr 2019 13:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: sort: printing characters: define
Date: Sat, 20 Apr 2019 21:54:34 +0800
(info "(coreutils) sort invocation") says

‘-i’
‘--ignore-nonprinting’
     Ignore nonprinting characters.  The ‘LC_CTYPE’ locale determines
     character types...

Well this leaves the user high and dry trying to figure out what you
mean by printing characters.

Is SPC a printing character he wonders. It makes the printer head
advance one unit, whereas ESC doesn't.

So at least mention the ASCII range [A-Z...] of what your are talking
about. It would only take up a word or two of the INFO page.

Anyway, each program might have their own idea of "printing characters"
as well as grandpa down the hall's definition. So the user is left unsure.




Information forwarded to bug-coreutils <at> gnu.org:
bug#35343; Package coreutils. (Fri, 26 Apr 2019 06:18:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: Coreutils <bug-coreutils <at> gnu.org>
Subject: Re: bug#35343: sort: printing characters: define
Date: Thu, 25 Apr 2019 23:16:57 -0700
On 4/20/2019 6:54 AM, 積丹尼 Dan Jacobson wrote:
> (info "(coreutils) sort invocation") says
>
> ‘-i’
> ‘--ignore-nonprinting’
>      Ignore nonprinting characters.  The ‘LC_CTYPE’ locale determines
>      character types...
>   
----
    @ location:
 https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/V1_chap07.html#tag_07_03_01

LC CTYPE is defined by POSIX for the 'POSIX' or 'C' locale.  It is
relative (defined) as specified by the current locale.
> Well this leaves the user high and dry trying to figure out what you
> mean by printing characters.
>   
If the user is wet and water is introduced into the printing medium,
ink smearing or other malfunctions may occur that might hinder
performance, recognition and validation w/r/t any specification.
(str8 face)
> Is SPC a printing character he wonders. It makes the printer head
> advance one unit, whereas ESC doesn't.
>   
SPACE is a printing character, ESC is a control-character.  All
control characters are *excluded* from the the class 'PRINT'.

> So at least mention the ASCII range [A-Z...] of what your are talking
> about. It would only take up a word or two of the INFO page.
>
> Anyway, each program might have their own idea of "printing characters"
> as well as grandpa down the hall's definition. So the user is left unsure.
>   
In that regard, if each program has its own definition, then different
programs would find it hard to talk with each other.  In order for
programs to inter-operate with each other, it would be best if all
programs being used would use the same specification for details like
"printing character".  Having each program document shared and basic
definitions would tend to be redundant.  Instead the reader should be
aware of standards (such as character definitions and classifications)
for their platform. 

Accordingly, it would be redundant to include extra information about
needed standards with each program.  No?  :-)




Information forwarded to bug-coreutils <at> gnu.org:
bug#35343; Package coreutils. (Sat, 27 Apr 2019 16:12:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: Coreutils <bug-coreutils <at> gnu.org>
Subject: Re: bug#35343: sort: printing characters: define
Date: Sat, 27 Apr 2019 23:57:20 +0800
Well all I know is e.g., perl's man perlrecharclass is
more detailed than
(info "(coreutils) Character sets") section,
(which (info "(coreutils) sort invocation") perhaps should also link to.)
Anyways, coreutils should at least link to a definite statement...




This bug report was last modified 6 years and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.