Jim Meyering
7055579067
join: with --check-order print offending file name, line number and data
...
* src/join (g_names): New global (was main's "names").
(main): Update all uses of "names".
(line_no[2]): New globals.
(get_line): Increment after reading each line.
(check_order): Print the standard "file name:line_no: " prefix
as well as the offending line when reporting disorder.
Here is a sample old/new comparison:
-join: file 1 is not in sorted order
+join: in:4: is not sorted: contents-of-line-4
* tests/misc/join: Change the two affected tests to expect
the new diagnostic.
Add new tests for more coverage: mismatch in file 2,
two diagnostics, zero-length out-of-order line.
* NEWS (Improvements): Mention it.
Suggested by David Gast in http://debbugs.gnu.org/9236
2011-08-08 10:12:38 +02:00
..
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-05-14 10:41:29 +01:00
2011-06-17 09:17:37 +02:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-02-07 09:25:51 +01:00
2011-01-01 22:16:47 +01:00
2011-04-28 22:43:56 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-04-04 18:21:32 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:12:38 +02:00
2011-04-28 22:43:56 +02:00
2011-08-08 10:11:48 +02:00
2011-07-07 16:42:47 +02:00
2011-04-28 22:43:56 +02:00
2011-01-01 22:16:47 +01:00
2011-05-14 10:41:29 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-05-18 07:33:04 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-05-14 10:41:29 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-04-28 22:43:56 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-06-18 08:34:07 +02:00
2011-05-06 08:07:46 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-06-17 09:17:37 +02:00
2011-08-08 10:11:48 +02:00
2011-06-19 09:16:20 +02:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-06-17 09:17:37 +02:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-03-22 07:13:59 +01:00
2011-01-01 22:16:47 +01:00
2011-07-17 12:52:55 -07:00
2011-07-08 13:54:08 +01:00
2011-07-25 12:00:26 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-04-28 22:43:56 +02:00
2011-07-20 10:38:46 +01:00
2011-04-28 22:43:56 +02:00
2011-01-17 19:07:58 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00
2011-01-01 22:16:47 +01:00
2011-08-08 10:11:48 +02:00
2011-01-01 22:16:47 +01:00