summaryrefslogtreecommitdiff
path: root/src/uniq.c
AgeCommit message (Collapse)Author
2001-08-25(find_field): Don't count trailing newline to beJim Meyering
part of the field. This disagrees with POSIX.2, but it's gotta be a bug in the standard. An interpretations request has been submitted to PASC.
2001-08-13(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2001-05-20Rename new option values: s/all/precede/ and s/minimum/separate/.Jim Meyering
2001-05-19(delimit_method_map): Remove trailing comma.Jim Meyering
2001-05-19Support new modes for uniq's --all-repeated option.Jim Meyering
The default behavior is unchanged. Include argmatch.h. (usage): Update. (check_file): Implement it. (main): Handle new, optional arguments. Patch by Padraig Brady.
2001-03-18(usage): Warn that the +N form will be withdrawn.Jim Meyering
2000-06-20(main): Fix off-by-argc test, so +N-style options are recognized once again.Jim Meyering
Reported by Geoff Keunning. Fix typo in diagnostic: s/compare/skip/.
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
1999-08-22tweak commentJim Meyering
1999-08-22(check_file): Explain why we have separate `if' and `else'Jim Meyering
blocks when the code in the else block could handle both cases.
1999-08-22(check_file): Generate each line of output earlier,Jim Meyering
when possible. It is possible when using none of these options: --count, -repeated, --all-repeated, --unique. Based on a patch from Ian Turner. (check_file): Move declarations of local variables into the scopes where used. (min): Remove macro definition. (different): Use MIN, not min. (SWAP_LINES): New macro. (check_file): Use it here.
1999-08-22(SWAP_LINES): New macro.Jim Meyering
(check_file): Use it here. [really remove min macro, this time]
1999-08-22(check_file): Move declarations of local variablesJim Meyering
into the scopes where they're used. (min): Remove macro definition. (different): Use MIN, not min.
1999-07-04(find_field, different): Use size_t, not int, for lengths.Jim Meyering
(writeline): Lines now contain trailing newline. (check_file): Use size_t, not int, for lengths.
1999-04-04Standardize --help and --version processing.Jim Meyering
1999-04-03Use AUTHORS in place of string in parse_long_options call.Jim Meyering
1999-04-03Insert AUTHORS definition.Jim Meyering
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-03-04Include long-options.hJim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-16update copyright datesJim Meyering
1999-01-14Don't prototype usage as static.Jim Meyering
1999-01-09declare `match'Jim Meyering
1999-01-09New option: --all-repeated (-D).Jim Meyering
(output_all_repeated) [output_mode]: New enum value. (usage): Describe it. (writeline): Test for new mode. (check_file): Likewise. Based on patches from Jochen Hein and Florin Iucha. (main): Diagnose `too many arguments'.
1998-09-19update bug-reporting addressJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-04-27Remove definition of _GNU_SOURCEJim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-01-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim Meyering
Remove definitions of those symbols. * src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h since it now includes limit.h which defines RE_DUP_MAX. * src/nl.c: Likewise. * src/tac.c: Likewise.
1997-10-07update bug-reporting addressJim Meyering
1997-03-01(usage): Fix typo in --help output. From Andreas Schwab.Jim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-25update for changed xstrtou?lJim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-04(main): update --version output againJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-10Add new option --ignore-case (-i).Jim Meyering
Include memcasecmp.h. (different): Compare with memcasecmp if ignoring case. (main): Handle 'i'.
1996-03-24Call error with EXIT_FAILURE (rather than `1') as first actual parameter.Jim Meyering
1996-03-24Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.Jim Meyering
This doesn't change `error (1' calls.
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-01-04(usage): Tweak wording in --help output.Jim Meyering