Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-10-07 | (head_bytes, head_lines): Adapt to new safe_read ABI. | Jim Meyering | |
2002-08-31 | Change `exit (0)' to `exit (EXIT_SUCCESS)', | Jim Meyering | |
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. | |||
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. (main): Revert to previous behavior, except report an error and exit if the obsolete syntax is used and if conforming to the new standard. | |||
2002-02-11 | (head_lines): If we have read too much data, try | Jim Meyering | |
to seek back to the position we would have gotten to had we been reading one byte at a time. POSIX currently doesn't require this, but it's easy to do and some software relies on it. | |||
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 it. (main): Check for obsolete options. (header_mode_option): New constant. | |||
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-10-27 | Give an accurate diagnostic when `head --bytes=30M' fails. | Jim Meyering | |
(string_to_integer): Check explicitly for overflow, and lump everything else together as `invalid'. | |||
2001-08-18 | (head_bytes): Read no more than the specified number of bytes. | Jim Meyering | |
2000-08-07 | (head): Call write_header here. | Jim Meyering | |
(head_file): ... not here. | |||
2000-05-24 | (head_file): Use STDIN_FILENO in place of `0'. | Jim Meyering | |
(main): Likewise. | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
2000-05-12 | (string_to_integer): Restrict base to 10. | Jim Meyering | |
1999-04-24 | Include new "xstrtol.h", not "xstrtoul.h". | Jim Meyering | |
Change all U_LONG_LONG to uintmax_t. (head_lines): Move a couple dcls into an inner scope. (string_to_integer): Rename from string_to_ull. | |||
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 | (head_bytes, head_lines) [O_BINARY]: Use binary I/O. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
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-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1998-04-11 | Include safe-read.h instead of merely declaring safe_read. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-07-13 | Include xstrtoul.h. | Jim Meyering | |
Remove global variable, unit_size. (atou): Remove now-unused function. (parse_unit): Likewise. (string_to_ull): New function. (head): Take new parameter, count_lines. Use it instead of unit_size. Update callers. (head_file): Likewise. (main): Use string_to_ull, not atou/parse_unit. | |||
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
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. | |||
1997-01-25 | update for changed xstrtou?l | Jim Meyering | |
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-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. | |||
1995-12-22 | (usage): Align text in -n line. | Jim Meyering | |