Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-03-11 | (longopts): Don't hard-code `2' here. | Jim Meyering | |
Instead, just specify `&verbose', and ... (main): ... remove the `case 2:' block for --verbose. | |||
2003-02-19 | Include "full-read.h". | Jim Meyering | |
(bytes_split, lines_split, line_bytes_split): Use full_read, not safe_read. The way split was using the latter, a short read could cause split to terminate before EOF. (bytes_split): Remove unnecessary `else' after break. (lines_split): Likewise. and correct misleading indentation. | |||
2002-10-19 | (cwrite): Change type of `bytes' parameter to size_t | Jim Meyering | |
Remove now-useless cast. (stdread): Remove function. (bytes_split): Use size_t instead of int. Use safe_read, not stdread. (lines_split): Likewise. Use memchr rather than a `while' loop. (line_bytes_split): Use size_t instead of int. Use safe_read, not stdread. (main): Add some FIXME comments to remind me to remove casts. | |||
2002-09-28 | (FAIL_ONLY_ONE_WAY): New macro. Factor out some duplication. | Jim Meyering | |
(main): Use it. [case 'a']: Use strtoul rather than strtol to avoid compiler warnings. | |||
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-02-16 | Include posixver.h. | Jim Meyering | |
(usage): Document only the intersection of the old and new behaviors, to encourage portability. (shortopts): Remove; no longer needed. (main): Parse options using POSIX 1003.1-2001 rules if conforming to that standard. Do not warn of obsolete options. | |||
2002-02-12 | (DEFAULT_SUFFIX_LENGTH): Define constant. | Jim Meyering | |
(suffix_length): Use it here. (usage): Use it here. | |||
2002-02-12 | Include "dirname.h". | Jim Meyering | |
(outbase): Now a global var. (outfile_end): Remove. (suffix_length): New var. (shortopts, longopts, main): Add -a or --suffix-length. (next_file_name): Implement -a. Do not extend the suffix length. Check for file names that are too long. (main): Move outfile initialization to next_file_name. (shortopts): Remove -v (a typo). | |||
2002-02-02 | Add more support for POSIX 1003.1-2001, which requires removal for | Jim Meyering | |
support of obsolete "-N" option syntax in expand, head, fold, split, tail, unexpand, uniq, and which prohibits options with optional arguments in od and pr. (usage): Document this. (main): Check for obsolete options. (shortopts): New constant. (main): Use -1, not EOF, for getopt_long. | |||
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-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. | |||
2001-08-13 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | 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-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-02-16 | update copyright dates | Jim Meyering | |
1999-01-14 | Don't prototype usage as static. | Jim Meyering | |
1999-01-01 | (cwrite) [O_BINARY]: Write output in binary mode. | Jim Meyering | |
(main) [O_BINARY]: Read input in binary mode. | |||
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1998-04-11 | Include safe-read.h instead of merely declaring safe_read. | Jim Meyering | |
1998-01-18 | (next_file_name): Rewrite. This removes an artificial limit (albeit | Jim Meyering | |
already high, at INT_MAX :-) on the number of files split could create. Reported by Ralf W. Stephan. | |||
1998-01-10 | CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX | Jim 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-12-29 | (usage): s/TAB/ /g | Jim Meyering | |
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-01-25 | fix copyright filling | Jim Meyering | |
1996-11-23 | (usage): Alphabetize options like sort -f would. | Jim Meyering | |
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-13 | (usage): Remove parameter, REASON. | Jim Meyering | |
(main): Update callers to use combination of error (0, 0, ... and usage (EXIT_FAILURE). | |||
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-04-24 | update Copyright years for 1996 | Jim Meyering | |
1996-03-24 | Call error with EXIT_FAILURE (rather than `1') as first actual parameter. | Jim Meyering | |
1996-03-24 | Exit 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-16 | Don'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. |