Stephane Chazelas <steph...@chazelas.org> wrote: > 2021-07-02 14:07:17 +0200, Joerg Schilling via austin-group-l at The Open > Group: > > "Stephane Chazelas via austin-group-l at The Open Group" > > <austin-group-l@opengroup.org> wrote: > > > > > Is: > > > > > > printf '%s\n' a,b a,a | sort -c -t, -k1,1 > > > > > > Meant to succeed or not? > > > > > > It fails in GNU, busybox, OpenBSD, FreeBSD, Solaris, though with a > > > confusing: > > > > > > sort: -:2: disorder: a,a > > > > Try to use the POSIX sort variant to avoid the message. > [...] > > I suppose you mean the -C option, which > still checks but doesn't output a diagnostics message.
No, I was referring to /usr/xpg4/bin/sort ~A /