summaryrefslogtreecommitdiff
path: root/src/wc.c
AgeCommit message (Collapse)Author
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-10-31Add `const' attribute to some parameters.Jim Meyering
1995-10-30Protoize.Jim Meyering
1995-10-30Reorder functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-08-07Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-07-27Remove spurious space.Jim Meyering
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-02-28(wc): oops. Add missing dcl of stats.Jim Meyering
1995-02-27(wc): Put back test for S_ISREG. On some systems lseek returns zero forJim Meyering
non-regular files (esp ttys on SunOS) even when it fails.
1995-02-16(wc): Fix off-by-one error when counting lines.Jim Meyering
1995-02-11Fix example in comment.Jim Meyering
1995-02-10(wc): Eliminate fstat call -- using lseek is sufficient.Jim Meyering
Detect/handle case in which CURR position > EOF.
1995-02-10(wc): Handle separately the cases in which words needJim Meyering
not be counted. Suggested by Karl Heuer. (wc): Use memchr.c instead.
1995-02-09(wc): Add a separate loop for counting only lines or lines and bytes.Jim Meyering
From Karl Heuer.
1995-02-09(wc): Don't overcount the number of bytes when reading fromJim Meyering
a regular file on stdin with file pointer not at BOF. From Karl Heuer.
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
1994-10-19merge with 1.9.1hJim Meyering
1994-05-06.Jim Meyering
1994-04-13.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
1993-10-05merge with 1.8aJim Meyering
1993-05-22merge with 1.5.2Jim Meyering
1993-05-07merge with 1.5Jim Meyering
1993-04-29add --version and --helpJim Meyering
1992-12-02Convert static declarations of struct option to use new macros fromJim Meyering
getopt.h: no_argument, required_argument, and optional_argument.
1992-11-08Declared lots of external functions and variables static.Jim Meyering
Made several statically-initialized arrays `const'
1992-11-08Initial revisionJim Meyering