summaryrefslogtreecommitdiff
path: root/src/wc.c
AgeCommit message (Collapse)Author
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