summaryrefslogtreecommitdiff
path: root/src/join.c
AgeCommit message (Collapse)Author
1999-07-04Add support for LC_COLLATE locale.Jim Meyering
Include hard-locale.h, linebuffer.h, memcoll.h. (struct line): New member `buf', replacing `beg' and `lim'. All uses changed. (hard_LC_COLLATE): New var. (main): Initialize it. (get_line): Use readline to read the line, instead of doing it by hand. That way, we get a buffer that we can pass to memcoll. (keycmp): Use memcoll to compare lines if hard_LC_COLLATE is nonzero.
1999-07-04(xfields): Only <blank>s separate fields, not <space>s.Jim Meyering
1999-05-15(xfields): Don't interpret a trailing blank as aJim Meyering
delimiter when e.g. -t: was specified. From Tim Smithers.
1999-05-03(TOLOWER): Remove definition.Jim Meyering
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-04(main): Include author name argument.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-14Don't prototype usage as static.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-07-26Convert some char* dcls to `unsigned char*' and remove a cast --Jim Meyering
to placate irix4's cc.
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-26Do not define _GNU_SOURCE and/or NDEBUGJim Meyering
1998-04-17(xfields): Used unsigned char* pointers to avoidJim 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-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-03Move alloca-related preprocessor code into system.h.Jim 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-23(usage): Alphabetize options like sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-31(decode_field_spec): Always give FIELD_INDEX a value.Jim Meyering
This avoids spurious UMR from purify. (prjoin): Add an assertion. (add_field): Update assertion.
1996-10-04(main): update --version output againJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-13(decode_field_spec): Rename local variable `valid'Jim Meyering
to invalid (and reverse sense) to avoid conflict with the macro definition in /usr/include/locale.h on SunOS 4.1.3.
1996-04-10(memcasecmp): Remove static definition of function.Jim Meyering
Include memcasecmp.h instead.
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(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.Jim Meyering
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-02-22(xfields) [without -t]: Ignore leading blanks.Jim Meyering
From David Dyck (dcd@tc.fluke.COM).
1996-02-18[TOLOWER]: Define.Jim Meyering
(usage): Briefly describe new --ignore-case (-i) option. (memcasecmp): New function. (main): Set IGNORE_CASE for -i. (keycmp): Compare with memcasecmp if IGNORE_CASE is set. Suggestion and an initial patch from Alberto Accomazzi <alberto@cfa0.harvard.edu>.
1996-02-17Mark a few error strings for translation.Jim Meyering
From Franc,ois Pinard.
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-05(join): Protoize. Somehow, protoize missed this one.Jim Meyering
1995-10-13(prjoin): Handle case in which file spec is 0.Jim Meyering
(add_field): Update assertions. (decode_field_spec): For S == "0", set file spec to zero and don't modify *FIELD_INDEX. Otherwise, *FIELD_INDEX gets the zero-based index.
1995-10-13(prjoin): Rewrite loop that iterates over field specs.Jim Meyering
1995-10-12(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.Jim Meyering