|
From: | Paul Eggert |
Subject: | bug#51011: Problem solved - thoughts on confusing behavior |
Date: | Mon, 4 Oct 2021 13:01:52 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 10/4/21 08:29, Juncheng Yang wrote:
However, this is confusing because 1) the behavior of `-n` and `-g` are not consistent
Yes, that is confusing. I have followed up to Pádraig about this., 2) the `-n` in GNU sort is different from the sort on MacOS (which has pos2 as pos1+1 instead of 0)…
GNU sort does that too; that's old-fashioned syntax that is not recommended nowadays; it's better to use the -k option. macOS 'sort' supports supports -k too, surely.
[Prev in Thread] | Current Thread | [Next in Thread] |