summaryrefslogtreecommitdiff
path: root/src/cat.c
AgeCommit message (Collapse)Author
1999-03-04Include long-options.hJim 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-16update copyright datesJim Meyering
1999-01-14Don'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-19update bug-reporting addressJim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-04-11Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-01-25(cat): Convert comma-expressions to pairs ofJim Meyering
semicolon-terminated stmts. Add braces around compound if/else stmts.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove stpcpy dcl.Jim Meyering
1997-10-07indent cpp directives to reflect nestingJim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-02-09update copyrights for 1997Jim 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.
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-04(main): update --version output againJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim 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-24update Copyright years for 1996Jim Meyering
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(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-11(main): Don't die when dev/ino of input and output areJim 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
1995-10-17Protoize. Reorder functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-09-19Rewrite confusing comment.Jim Meyering
1995-08-07Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-07-21reformat commentJim Meyering
1995-06-24Undefine min and/or max before defining to avoid redefinition warningJim Meyering
on systems.
1995-06-18merge with 1.12Jim Meyering
1995-05-13(usage): Include one- or two-line synopsis in --help output.Jim Meyering
From Karl Berry.
1995-03-09add 1995 to Copyright datesJim Meyering
1995-01-28(cat): Use memmove rather than bcopy.Jim Meyering
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
1994-11-02(cat): Conditionalize test for errno == ENOSYS. It's notJim Meyering
defined on some Next and Alliant systems. From Kaveh Ghazi.
1994-10-19merge with 1.9.1hJim Meyering
1994-04-13.Jim Meyering
1994-03-25.Jim Meyering
1994-01-09safe_read and full_write + join patchJim Meyering
1993-10-23merge with 1.8d+Jim Meyering
1993-10-21merge with 1.8dJim Meyering