Re: [PATCH] sort: EOL included in final field

2001-06-10 Thread Jim Meyering
Thanks for the report, but which version of sort are you using and how/with-what-compiler was it compiled? With 2.0(from debian) and with 2.0.14, I get this: $ printf a\na b\n|sort -c -k1,1 echo ok ok Herbert Xu [EMAIL PROTECTED] wrote: | The final newline is included in the final field

Re: [PATCH] sort: EOL included in final field

2001-06-10 Thread Herbert Xu
On Sun, Jun 10, 2001 at 10:48:06AM +0200, Jim Meyering wrote: Thanks for the report, but which version of sort are you using and how/with-what-compiler was it compiled? With 2.0(from debian) and with 2.0.14, I get this: $ printf a\na b\n|sort -c -k1,1 echo ok ok Never mind, I was

[PATCH] sort: EOL included in final field

2001-06-09 Thread Herbert Xu
The final newline is included in the final field when fields are specified through -k. Here is a test case: $ sort -c -k 1,1 eof a a b eof sort: -:2: disorder: a b The changelog says: 1999-11-03 Paul Eggert [EMAIL PROTECTED] * NEWS, doc/textutils.texi: Do not consider