Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve robustness of multibyte character handling (-m option), and | tjr | 2004-04-09 | 1 | -19/+23 |
| | | | | | simplify the read buffering now that we can feed partial multibyte characters to mbrtowc(). | ||||
* | mdoc(7) police: markup polishing. | ru | 2002-11-26 | 1 | -4/+2 |
| | | | | Approved by: re | ||||
* | Locale environment variables influence wc(1) regardless of whether the | tjr | 2002-08-11 | 1 | -4/+1 |
| | | | | -m option is specified; correct ENVIRONMENT section. | ||||
* | Use the iswspace(3) function now that it's been implemented. | tjr | 2002-08-11 | 2 | -5/+5 |
| | |||||
* | When counting words, check the correct character variable to see whether it's | tjr | 2002-06-16 | 1 | -2/+2 |
| | | | | | | a space or not. Noticed by: bde | ||||
* | fstat() returns information about the target of any symbolic link that | tjr | 2002-06-15 | 1 | -2/+2 |
| | | | | was opened, not the link itself. Remove dead code. | ||||
* | Correct the Standards section: wc is a utility, not a function. | tjr | 2002-06-13 | 1 | -1/+1 |
| | |||||
* | Bump document date for previous commit. | tjr | 2002-06-13 | 1 | -1/+1 |
| | |||||
* | Add the -m option, which counts characters (as opposed to -c, which | tjr | 2002-06-13 | 2 | -24/+83 |
| | | | | | | | counts bytes). In locales that don't have multibyte characters, -m is effectively an alias for -c. This brings wc(1) up to P1003.1-2001 conformance. | ||||
* | remove __P | imp | 2002-03-22 | 1 | -2/+2 |
| | |||||
* | Leave the `copyright' variable exposed, since the main purpose of it | mike | 2002-03-07 | 1 | -2/+2 |
| | | | | | | is to put a copyright in the object file. Submitted by: bde | ||||
* | Fix vendor ID (mostly obtained from rev 1.1). | mike | 2002-02-28 | 1 | -21/+23 |
| | | | | | | Make use of `static' storage-class for local functions. Replace uses of `u_quad_t' with `uintmax_t'. | ||||
* | WARNS=2 fix, use __FBSDID(). | markm | 2001-12-11 | 1 | -8/+7 |
| | | | | Not added to Makefgile as WARNS=2 will be made default. | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | mdoc(7) police: s/BSD/.Bx/ where appropriate. | ru | 2001-08-14 | 1 | -1/+4 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | Add DIAGNOSTICS section name | charnier | 2000-03-26 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Correct style issues with the previous commit. | sheldonh | 1999-08-13 | 1 | -19/+16 |
| | | | | Requested by: bde | ||||
* | Fix integer overflow for files containing more than 4GB by using | sheldonh | 1999-08-06 | 1 | -15/+16 |
| | | | | | | | | | | | | | u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18) Deprecate register. (NetBSD's rev 1.13) The diffs from NetBSD were not applied verbatim, because we don't care about NO_QUAD right now. PR: 12959 Reported by: Nicholas Barnes <nb@ravenbrook.com> Obtained from: NetBSD | ||||
* | Sync usage string according to man page. Silent -Wall. | charnier | 1997-08-25 | 2 | -11/+11 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 2 | -2/+2 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 2 | -2/+2 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | [HISTORY] command appeared in Version 1 AT&T UNIX | wosch | 1996-08-29 | 1 | -0/+6 |
| | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 | ||||
* | Changed all per-file errors to warnings. Exit with a nonzero status of | bde | 1996-04-13 | 1 | -55/+48 |
| | | | | | | | if there was a per-file error. My test case of `wc /proc/curproc/*' works reasonably now (much like `size /proc/curproc/*'. Reviewed by: wosch | ||||
* | Do not exit if a file is not readable. This is a short hack | wosch | 1996-04-10 | 1 | -2/+4 |
| | | | | until someone rewrite wc(1). | ||||
* | Localize it. | ache | 1996-01-10 | 1 | -2/+5 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+357 |