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.