Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue

Liste des GroupesRevenir à cu shell 
Sujet : Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue
De : naddy (at) *nospam* mips.inka.de (Christian Weisgerber)
Groupes : comp.unix.shell
Date : 20. Feb 2025, 02:16:18
Autres entêtes
Message-ID : <slrnvrd0j2.5kc.naddy@lorvorc.mips.inka.de>
References : 1 2
User-Agent : slrn/1.0.3 (FreeBSD)
On 2025-02-19, Dan Cross <cross@spitfire.i.gajendra.net> wrote:

The test program (it contains non-ASCII middle-dot characters) was
>
sort -t $'\t' <<EOT
>
Do you really have the '$' there?

Yup.
Dollar single quotes are a thing, says the latest edition of POSIX:
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_02_04

--
Christian "naddy" Weisgerber                          naddy@mips.inka.de

Date Sujet#  Auteur
19 Feb 25 * Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue9Janis Papanagnou
19 Feb 25 +* Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue4Christian Weisgerber
20 Feb 25 i+* Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue2Janis Papanagnou
20 Feb 25 ii`- Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue1Lawrence D'Oliveiro
20 Feb 25 i`- Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue1Janis Papanagnou
19 Feb 25 +* Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue3Dan Cross
20 Feb 25 i+- Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue1Janis Papanagnou
20 Feb 25 i`- Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue1Christian Weisgerber
20 Feb 25 `- Re: Sorting problem with Unix sort(1) with UTF-8 punctuation characters - locale issue1Lem Novantotto

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal