Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing static keywords to wc(1) | ed | 2011-11-06 | 1 | -2/+2 |
| | |||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 2 | -8/+0 |
| | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson | ||||
* | Use better type for siginfo (volatile sig_atomic_t instead of int). | pjd | 2010-05-17 | 1 | -1/+2 |
| | | | | Pointed out by: jh | ||||
* | On SIGINFO print current values on stderr. | pjd | 2010-05-16 | 1 | -44/+68 |
| | |||||
* | Build usr.bin/ with WARNS=6 by default. | ed | 2010-01-02 | 1 | -1/+0 |
| | | | | Also add some missing $FreeBSD$ to keep svn happy. | ||||
* | Add missing `void' keyword for function without arguments. | ed | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | Add a -L option to wc(1), for finger compatibility with the GNU | keramida | 2008-12-06 | 2 | -11/+60 |
| | | | | | | | | | | wc utility. The -L option can be used to report the length of the longest line wc has seen in one or more files. It is disabled by default, and wc uses the standard `-lwc'. Submitted by: Sheldon Givens, sheldon at sigsegv.ca Reviewed by: kib MFC after: 1 week | ||||
* | Prevent a line from being broken on a line boundary. | ru | 2006-12-21 | 1 | -1/+1 |
| | |||||
* | Improve markup. | ru | 2006-12-21 | 1 | -4/+9 |
| | |||||
* | Fix mismerge. | trhodes | 2005-02-26 | 1 | -1/+1 |
| | | | | Noticed by: tjr | ||||
* | Add better mdoc(7) mark up, clean up wording, better describe the effects | trhodes | 2005-02-23 | 1 | -6/+23 |
| | | | | | | | | of some arguments. PR: 47705 Based on a patch submitted by: Gary W. Swearingen <swear@attbi.com> Glanced at by: simon | ||||
* | Expand *n't contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | Sort sections. | ru | 2005-01-18 | 1 | -4/+4 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Scheduled mdoc(7) sweep. | ru | 2005-01-11 | 1 | -2/+3 |
| | |||||
* | Remove warnings and make wc WARNS=6 clean. | josef | 2004-12-27 | 2 | -6/+4 |
| | | | | | | Add FreeBSD Id to Makefile. Approved by: ssouhlal | ||||
* | Deal with double whitespace. | ru | 2004-07-03 | 1 | -1/+3 |
| | |||||
* | 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 |