Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-08-31 | copyright | Jim Meyering | |
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. (simple_cat, cat): Don't assume read and write size fits in int. | |||
2001-08-13 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2000-10-21 | The command, `yes ''|./cat -n' would stop printing after INT_MAX lines. | Jim Meyering | |
(cat): Never let `newlines' exceed 3. | |||
2000-10-21 | Prevent a counter buffer overrun when numbering lines and when | Jim Meyering | |
processing 100 billion lines (or more) of input. (LINE_COUNTER_BUF_LEN): Define to allow numbering as many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could be exceeded without too much trouble). Use this symbol rather than hard-coding the constant everywhere. Rather than overruning for input with more lines, mark the line number by putting a `>' in the leftmost slot. (next_line_num): Fixed (now academic) possible line buffer overrun. Patch by Jan Nieuwenhuizen. | |||
2000-08-07 | (closeout_func): Remove variable. | Jim Meyering | |
(close_stdout_wrapper): Remove unused function. (main): Remove assignment to closeout_func. | |||
2000-06-22 | (main): Correct a comment. | Jim Meyering | |
2000-05-27 | Arrange to call close_stdout upon exit. | Jim Meyering | |
Don't close stdout explicitly. Replace uses of global constant, output_desc, with uses of STDOUT_FILENO. | |||
1999-05-18 | (main): When stdout is in binary mode, make sure all | Jim Meyering | |
input files are also read in binary mode. | |||
1999-04-13 | (main): Declare out_dev to be of type dev_t, not `int'. | Jim Meyering | |
Declare out_ino to be of type ino_t, not `int'. | |||
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 | (usage) [O_BINARY]: Describe -B,--binary option. | Jim Meyering | |
(main) [O_BINARY]: binary_files, binary_output, file_open_mode: new variables. Add --binary to long_options[]. Switch stdin and stdout to binary mode unless file contents are not important anyway. Open files in binary mode when required. | |||
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-25 | (cat): Convert comma-expressions to pairs of | Jim Meyering | |
semicolon-terminated stmts. Add braces around compound if/else stmts. | |||
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-23 | Remove stpcpy dcl. | Jim Meyering | |
1997-10-07 | indent cpp directives to reflect nesting | 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-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-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-04 | (main): update --version output again | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-10-01 | . | Jim Meyering | |
1996-09-02 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-08-24 | (cat): Cast first arg to stpcpy to char*. | Jim Meyering | |
1996-05-28 | (main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*). | 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-11-27 | s/non-zero/nonzero/g | Jim Meyering | |
1995-11-11 | (main): Don't die when dev/ino of input and output are | Jim Meyering | |
the same and the file descriptors correspond to stdin and stdout. This is necessary on at least Digital UNIX (aka OSF1) 3.2C. Otherwise, running `cat << X > $$' would fail with `cat: -: input file is output file'. From Jarkko Hietaniemi <jhi@epsilon.hut.fi>. | |||
1995-10-31 | (usage, next_line_num, main): Protoize. | Jim Meyering | |