If you implement csv in sort you’ll have to implement it in head, tail, uniq, joint, wc, etc. etc. etc... while a tool converting a csv to a plain text file (and the reverse operation) will avoid the need to change all tools !
Le sam. 30 janv. 2021 à 21:29, Eric Fischer <e...@pobox.com> a écrit : > A couple of years ago I went down this route of thinking I would add CSV > support to sort, and then let myself get distracted into trying to follow > https://paulfitz.github.io/2017/01/24/the-year-of-poop-on-the-desktop.html > instead. The problem with that is that coreutils doesn't work with > multibyte field separators. That discovery led me to make the multibyte > fixes in https://github.com/ericfischer/coreutils/tree/multibyte-squash so > that my sorting and other transformations would work. They have been > sitting in unreviewed limbo ever since, but they are still there if you > want them. > > Eric > -- -- Paul Courbis de Bridiers de Villemor