Jim Meyering
ad54994c9b
Fix uniq to conform to POSIX, which requires that "uniq -d -u"
...
must output nothing. Problem reported by Josh Hyman.
(enum output_mode, mode): Remove, replacing with:
(output_unique, output_first_repeated, output_later_repeated):
New vars. All uses of "mode" changed to use these variables,
which are not mutually exclusive as "mode" was.
(writeline): New arg "match", used to control whether to
obey output_first_repeated or output_later_repeated.
All callers changed.
(check_file, main): Adjust to above changes.
2003-05-14 08:34:56 +00:00
..
2003-04-24 09:09:23 +00:00
2003-04-11 11:49:23 +00:00
2003-05-10 20:27:16 +00:00
2002-10-08 06:21:31 +00:00
2000-11-26 23:10:55 +00:00
2002-08-31 08:52:10 +00:00
2002-12-15 20:54:29 +00:00
2002-01-21 19:50:28 +00:00
2003-01-04 10:34:59 +00:00
2003-04-11 12:39:58 +00:00
2003-05-10 14:59:04 +00:00
2003-02-18 08:05:02 +00:00
2003-05-10 14:19:44 +00:00
2003-05-13 14:45:00 +00:00
2003-03-26 18:47:49 +00:00
2003-05-13 14:40:50 +00:00
2002-12-15 20:54:29 +00:00
2003-04-11 12:38:19 +00:00
2003-04-11 10:51:56 +00:00
2003-04-11 10:51:56 +00:00
2003-04-11 10:51:56 +00:00
2002-11-10 09:53:57 +00:00
2003-05-13 17:03:58 +00:00
2002-12-01 10:18:34 +00:00
2003-04-11 12:46:24 +00:00
2002-08-31 08:52:10 +00:00
2003-03-08 10:14:33 +00:00
2003-05-10 19:56:10 +00:00
2002-08-31 08:52:10 +00:00
2003-05-10 20:01:32 +00:00
2003-05-10 19:58:04 +00:00
2003-05-13 14:38:40 +00:00
2003-04-10 19:05:43 +00:00
2002-11-05 20:17:28 +00:00
2003-05-02 19:52:48 +00:00
2002-08-31 08:52:10 +00:00
2003-04-10 19:06:22 +00:00
2002-07-02 08:44:52 +00:00
2003-05-13 14:54:31 +00:00
2002-08-31 08:52:10 +00:00
2003-05-10 15:00:00 +00:00
2003-04-11 10:51:56 +00:00
2003-05-10 14:33:24 +00:00
2003-05-13 14:38:18 +00:00
2003-05-10 15:45:00 +00:00
2002-08-31 08:52:10 +00:00
2003-05-10 13:25:41 +00:00
2003-05-10 13:36:50 +00:00
2003-04-11 12:36:31 +00:00
2003-04-10 19:11:07 +00:00
2003-05-11 06:35:10 +00:00
2000-11-26 23:12:44 +00:00
2003-04-11 10:51:56 +00:00
2002-09-28 07:51:17 +00:00
2003-04-11 12:44:41 +00:00
2002-12-14 14:15:38 +00:00
2003-05-10 14:37:12 +00:00
2002-08-31 08:52:10 +00:00
2003-04-12 19:51:36 +00:00
2002-08-10 09:57:57 +00:00
2003-04-11 10:51:56 +00:00
2003-04-11 10:51:56 +00:00
2003-02-12 09:20:47 +00:00
2002-10-19 07:55:15 +00:00
2003-05-13 14:37:45 +00:00
2003-05-11 06:32:47 +00:00
2003-05-10 20:00:54 +00:00
2003-04-11 12:44:23 +00:00
2003-05-10 14:39:16 +00:00
2003-05-10 14:54:23 +00:00
2003-05-04 07:10:21 +00:00
2003-01-04 10:32:21 +00:00
2003-05-09 22:25:12 +00:00
2002-09-22 06:59:13 +00:00
2003-03-20 13:49:39 +00:00
2000-11-26 23:13:11 +00:00
2003-03-08 16:57:55 +00:00
2003-03-08 14:30:28 +00:00
2003-05-13 14:43:43 +00:00
2003-04-11 12:41:44 +00:00
2003-04-11 10:51:56 +00:00
2003-04-10 19:09:30 +00:00
2003-04-17 07:36:24 +00:00
2003-04-11 10:51:56 +00:00
2002-12-15 20:54:29 +00:00
2003-05-10 15:39:39 +00:00
2003-05-06 13:33:12 +00:00
2003-04-04 15:49:48 +00:00
2002-08-30 23:04:53 +00:00
2002-11-23 16:28:44 +00:00
2003-05-13 14:32:10 +00:00
2003-04-11 10:51:56 +00:00
2003-04-11 12:42:39 +00:00
2002-12-20 20:10:48 +00:00
2003-04-11 10:51:56 +00:00
2003-01-03 21:38:27 +00:00
2003-04-24 13:50:27 +00:00
2003-05-10 14:58:15 +00:00
2003-05-10 13:47:38 +00:00
2003-05-10 20:27:56 +00:00
2003-05-14 08:34:56 +00:00
2002-08-31 08:52:10 +00:00
2002-08-31 08:52:10 +00:00
2003-04-11 10:51:56 +00:00
2002-11-05 20:30:43 +00:00
2001-02-06 09:56:22 +00:00
2003-05-10 13:42:48 +00:00
2002-08-31 08:52:10 +00:00
2003-04-11 11:42:39 +00:00