summaryrefslogtreecommitdiff
path: root/src/wc.c
AgeCommit message (Collapse)Author
1998-06-29Update call to human_readable -- now there's one fewer arg.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-04-12(wc): Declare per-file counters and `linepos' to be of type uintmax_t.Jim Meyering
Declare bytes_read to be ssize_t.
1998-04-11Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-04-11[HAVE_INTTYPES_H]: Include inttypes.h.Jim Meyering
Declare counters to be of type uintmax_t. (write_counts): Use human_readable to format potentially-long-long numbers. Suggestion from Rogier Wolff.
1998-04-11*** empty log message ***Jim Meyering
1997-11-03(main): New option, --max-line-length (-L).Jim Meyering
(wc, write_counts): Implement it. From Bruno Haible.
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-09-02(usage): Tell where to report bugs.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-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