Re: 'sort' command -- support more than one field-delimiter
From:
Dani Moncayo
Subject:
Re: 'sort' command -- support more than one field-delimiter
Date:
Mon, 16 Oct 2023 08:19:17 +0200
On Mon, Oct 16, 2023 at 12:01 AM Pádraig Brady <P@draigbrady.com> wrote:
> [...]
>
> Also if we were to implement this, then it might introduce confusion.
> For example users might try to `sort -t "blah"` expecting
> the word "blah" to be used as a delimiter.
> This is similar to the python "".rstrip() string method,
> which takes chars, but I've seen many many instances
> of code doing things like filename.rstrip(".txt")
> which is an insidious error as it often works.
I understand, and agree, about your concern.
Maybe someone could figure out a better way of specifying several
field-delimiters.
Thanks.
--
Dani Moncayo