|
From: | Dragan Simic |
Subject: | Re: 'sort' command -- support more than one field-delimiter |
Date: | Mon, 16 Oct 2023 08:50:39 +0200 |
On 2023-10-16 08:44, Dani Moncayo wrote:
On Mon, Oct 16, 2023 at 8:41 AM Dragan Simic <dsimic@manjaro.org> wrote:On 2023-10-16 08:35, Dani Moncayo wrote: > On Mon, Oct 16, 2023 at 8:19 AM Dani Moncayo <dmoncayo@gmail.com> > wrote: >> >> Maybe someone could figure out a better way of specifying several >> field-delimiters. > > Perhaps a long option, like: > $ sort --field-separators=" /" -n -k5 -k3 -k4 file1.txt Hmm, maybe an even longer one, "--field-separators-list", to make it 100% obvious it's a list of separators?I'd be fine with that, too. (I'm not a native English speaker, but I think that should be "--field-separator-list").
Strictly grammatically, that's a bit debatable. In general, it should use the singular form, but in this particular case, the plural form simply feels better, which of course is subjective. (I'm not a native English speaker either.)
[Prev in Thread] | Current Thread | [Next in Thread] |