Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-04-11 | Remove anachronistic casts of xmalloc, | Jim Meyering | |
xrealloc, and xcalloc return values and of xrealloc's first argument. | |||
2003-01-09 | When selecting ranges of byte offsets (as opposed to ranges of fields) | Jim Meyering | |
and when --output-delimiter=STRING is specified, output STRING between ranges of selected bytes. (RANGE_START_SENTINEL): Define. (output_delimiter_specified): New global. (print_kth): Add parameter. Adjust all callers. (set_fields): Mark each range-start index with RANGE_START_SENTINEL. (cut_bytes): When requested, output STRING between ranges of selected bytes. (main): Make a diagnostic a little clearer. Based on a patch from Jan Nieuwenhuizen. | |||
2003-01-09 | (set_fields): Make code agree with comment: | Jim Meyering | |
Don't merge abutting ranges like 4- and 2-3. This makes no difference currently, but is required to support an upcoming change. | |||
2003-01-07 | (set_fields): Fix typo in comment. | Jim Meyering | |
2002-10-12 | (cut_fields): Add a temporary size_t variable, n_bytes, to avoid warnings. | Jim Meyering | |
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2001-12-01 | Reflect renaming to, and new usage of these macros: | Jim Meyering | |
HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION. | |||
2001-12-01 | (usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. | |||
2001-11-23 | Factor out some common strings to make translation easier. | Jim Meyering | |
Split usage strings so that --help and --version descriptions are alone in their own string. Likewise for the one that says: Mandatory arguments to long options are mandatory for short options too. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-04 | (usage): Say that | Jim Meyering | |
``Mandatory arguments to long options are mandatory for short options too.\n\'' | |||
2001-08-13 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2000-09-07 | (usage): Note that when using -f, lines with no delimiters are also printed. | Jim Meyering | |
2000-09-07 | Remove obsolete comment block. | Jim Meyering | |
2000-08-08 | (cut_fields): Invoke xalloc_die instead of printing our own message. | Jim Meyering | |
(cut_fields): Check for I/O error as well as end-of-file. | |||
2000-07-31 | (cut_fields): Use `virtual memory exhausted', not `Memory exhausted'. | Jim Meyering | |
2000-07-01 | Change type of global, field_1_bufsize, from int to size_t. | Jim Meyering | |
2000-06-21 | (getstr): Remove private (and out of date) version of this function. | Jim Meyering | |
(cut_fields): Adjust caller to use the just-extended one in ../lib. | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
2000-01-21 | Correct copying notice to use GPL, per author's request. | Jim Meyering | |
2000-01-08 | (OUTPUT_DELIMITER_OPTION): Define this and use it instead of `CHAR_MAX + n'. | Jim Meyering | |
1999-09-02 | Remove xstrdup declaration. | Jim Meyering | |
1999-04-04 | Standardize --help and --version processing. | Jim Meyering | |
1999-04-03 | Use AUTHORS in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | Insert AUTHORS definition. | Jim Meyering | |
1999-04-03 | Use PROGRAM_NAME in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | define PROGRAM_NAME | Jim Meyering | |
1999-03-07 | (getstr): Change type of `delim' parameter from char to int. | Jim Meyering | |
(cut_fields): Cast to `unsigned char' before comparing. (main): Cast to `unsigned char' before assigning. | |||
1999-03-07 | (FATAL_ERROR): s/s/Message | Jim Meyering | |
1999-03-04 | Include long-options.h | Jim 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-01-14 | Don't prototype usage as static. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-30 | (longopts): Don't assume ASCII. | Jim Meyering | |
1998-07-26 | (cut_fields): Honor new --output-delimiter option. | Jim Meyering | |
(main): Fix handling of --delimiter='' (-d ''). Until now, it has never worked as advertised. I guess no one tried it. | |||
1998-06-29 | revert back to using lower case _unlocked wrapper names | Jim Meyering | |
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1998-06-28 | add a FIXME for output delimiter | Jim Meyering | |
1998-04-26 | Do not define _GNU_SOURCE and/or NDEBUG | Jim Meyering | |
1998-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1997-10-25 | (ADD_RANGE_PAIR): Cast first arg of xrealloc to char*. | Jim Meyering | |
(getstr): Cast xmalloc return value to char*. (xmalloc): Remove decl. (xrealloc): Remove decl. | |||
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-06-14 | (cut_fields): Detect when the input is empty and handle | Jim Meyering | |
that special case. Before `cut -f1 </dev/null' would improperly output a single newline. Reported by Phil Richards. | |||
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-04 | (main): update --version output again | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-09-02 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-03-24 | Call error with EXIT_FAILURE (rather than `1') as first actual parameter. | Jim Meyering | |