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.shellDate : 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