bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21880: Possible bug in sort --check --key


From: Alexander Kindyakov
Subject: bug#21880: Possible bug in sort --check --key
Date: Wed, 11 Nov 2015 21:50:14 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hello!

In sort man page nothing told about working sort --check with '--key' option. IMHO this behaviour is strange:

This case is succeeded:

$ echo -e '1\t2\n1\t1' | LC_ALL=C sort --key=1b,1 --check --stable --field-separator=$'\t'

But this (without option '--stable') is failed:

$ echo -e '1\t2\n1\t1' | LC_ALL=C sort --key=1b,1 --check --field-separator=$'\t'
sort: -:2: disorder: 1  1

It seems to me both of situation is equal with relation of line key, why does the output is different?

Sincerely yours, Alexander K





reply via email to

[Prev in Thread] Current Thread [Next in Thread]