Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-10-30 | Include "system.h" after wctype.h (not before) to avoid | Jim Meyering | |
a compilation error on Solaris 5.5.1 systems. | |||
2000-08-11 | Add support for multi-byte locales. | Jim Meyering | |
(iswprint, mbrtowc, wcwidth): Provide default definitions. (total_bytes): New variable. (print_bytes): New variable. (longopts): Change abbreviation for --chars from 'c' to 'm'. (usage): Update. (write_counts): Add `bytes' argument. (wc): New variables `bytes', `count_bytes', `count_chars', `count_complicated'. The old code determines `bytes', not `chars'. New case for MB_CUR_MAX > 1. A non-printable non-space character does not increment the line position or start a word. Update `total_bytes'. (main): Initialize `print_bytes' and `total_bytes' to 0. Accept 'm' option. Pass `total_bytes' to write_counts. | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
1999-07-20 | (posixly_correct): Declare global. | Jim Meyering | |
(write_counts): Use it to select printf formats. (main): Set posixly_correct from the POSIXLY_CORRECT envvar. From Peter Moulder. | |||
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 | (wc): Use binary mode for input. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-06-29 | Update call to human_readable -- now there's one fewer arg. | Jim Meyering | |
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1998-04-12 | Use STREQ rather than strcmp | Jim 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-11 | Include 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-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-09-02 | (usage): Tell where to report bugs. | 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-10-31 | Add `const' attribute to some parameters. | Jim Meyering | |
1995-10-30 | Protoize. | Jim Meyering | |
1995-10-30 | Reorder functions to obviate forward dcls. | Jim Meyering | |
Remove forward dcls. | |||
1995-08-07 | Annotate localizable strings with _(...). From Franc,ois. | Jim Meyering | |
1995-07-27 | Remove spurious space. | Jim Meyering | |
1995-06-18 | merge with 1.12 | Jim Meyering | |
1995-05-13 | (usage): Include one- or two-line synopsis in --help output. | Jim Meyering | |
From Karl Berry. | |||
1995-03-09 | add 1995 to Copyright dates | Jim 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 for | Jim 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 | |