summaryrefslogtreecommitdiffstats
path: root/usr.bin/wc/wc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
* For -w output in -m mode, tweak the handling of bytes that do notschwarze2018-09-301-2/+2
* fix the rest of the bug mitigated in the previous commit:schwarze2018-09-301-2/+3
* Treat NUL like any other byte in the default case; aligns newline countcheloha2018-09-291-3/+4
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-2/+3
* - Removed unnecessary string.h includefcambus2016-09-161-24/+23
* UTF-8 support: implement -m for character countingschwarze2015-12-081-33/+66
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-3/+3
* wc only opens files read-only, proceses them, and spits results to stdout.deraadt2015-10-031-1/+4
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+4
* remove erroneous char cast to switch expression processing getopt(3);okan2013-11-271-2/+2
* send a extra space to the bit bucketderaadt2013-11-231-2/+2
* simpler prototype repairsderaadt2013-11-121-1/+2
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
* do not print spurious whitespace when reading from stdin;otto2008-06-191-4/+7
* Add -h option to display human-readable numbers.espie2005-10-191-9/+25
* spacingderaadt2005-04-111-5/+5
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
* ansideraadt2002-09-171-12/+5
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-4/+4
* kill more registersmpech2001-11-191-7/+7
* first pass at a -Wall cleanupderaadt2001-07-121-5/+5
* Remove useless cast to quad_t. Gcc thinks "%qd" in printf is the same as "%lld" so we get a warning on alpha with -Wall. Live with it.millert1999-02-021-5/+5
* o Some minor updates from lite2 (mostly in the man page)millert1999-02-021-60/+62
* rcsidderaadt1996-06-261-1/+3
* initial import of NetBSD treederaadt1995-10-181-0/+258