Jim Meyering
06aeeecb3f
cut: do not print extraneous delimiters in some unusual cases
...
When printing output delimiters, and when a to-EOL range subsumes
at least one other range, cut would mistakenly print delimiters for
the subsumed range. This bug was probably introduced via commit
v5.2.1-639-g847e066.
* src/cut.c (set_fields): Ignore any range that is subsumed by a
to-EOL range. Also, move two declarations down.
* tests/misc/cut.pl: Add tests to exercise this.
* NEWS (Bug fixes): Mention it.
Reported by Marcel Böhme in http://bugs.gnu.org/12966
2012-11-24 15:23:31 -08:00
..
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-11-24 15:23:31 -08:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-10-23 13:03:08 +01:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-16 11:41:50 +01:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-11-24 15:25:19 +00:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-11-24 15:43:08 +00:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00
2012-09-05 08:48:29 +02:00
2012-08-30 18:55:59 +02:00