From: Jim Meyering Date: Tue, 15 Apr 2003 17:04:18 +0000 (+0000) Subject: remove SPCs before TAB X-Git-Tag: v5.0.1~682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304665f2246dd05a37466a20b6d4394d72205380;p=thirdparty%2Fcoreutils.git remove SPCs before TAB --- diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 1633d7ca10..2f42ec584a 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -227,17 +227,17 @@ my @tv = ( # be significant during comparison; but with GNU sort the newline is # insignificant. Here is an example of the bug: # -# $ od -c t -# 0000000 \n \t \n -# 0000003 -# $ sort t | od -c -# 0000000 \n \t \n -# 0000003 +# $ od -c t +# 0000000 \n \t \n +# 0000003 +# $ sort t | od -c +# 0000000 \n \t \n +# 0000003 # # The correct output of the latter command should be # -# 0000000 \t \n \n -# 0000003 +# 0000000 \t \n \n +# 0000003 # # because \t comes before \n in the collating sequence, and the trailing # \n's are part of the input line.