summaryrefslogtreecommitdiff
path: root/usr.bin/wc/wc.c
AgeCommit message (Expand)Author
2018-09-30For -w output in -m mode, tweak the handling of bytes that do notIngo Schwarze
2018-09-30fix the rest of the bug mitigated in the previous commit:Ingo Schwarze
2018-09-29Treat NUL like any other byte in the default case; aligns newline countcheloha
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2016-09-16- Removed unnecessary string.h includeFrederic Cambus
2015-12-08UTF-8 support: implement -m for character countingIngo Schwarze
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03wc only opens files read-only, proceses them, and spits results to stdout.Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
2013-11-23send a extra space to the bit bucketTheo de Raadt
2013-11-12simpler prototype repairsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-19do not print spurious whitespace when reading from stdin;Otto Moerbeek
2005-10-19Add -h option to display human-readable numbers.Marc Espie
2005-04-11spacingTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-17ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2001-07-12first pass at a -Wall cleanupTheo de Raadt
1999-02-02Remove useless cast to quad_t. Gcc thinks "%qd" in printf is the same as "%l...Todd C. Miller
1999-02-02 o Some minor updates from lite2 (mostly in the man page)Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt