summaryrefslogtreecommitdiff
path: root/usr.bin/wc
AgeCommit message (Expand)Author
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-09-02wc(1): accelerate word countingScott Soule Cheloha
2021-11-28Stop using MAXBSIZE to eliminate sys/param.h including (which injects aTheo de Raadt
2021-11-16wc(1): fix NULL pointer dereference in cnt()Scott Soule Cheloha
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
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-10-24Unify wording for LC_CTYPE in ENVIRONMENT:Ingo Schwarze
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-04-21Back in January, Kaspars at Bankovskis dot net reported that the wc(1)Ingo Schwarze
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-15No point in documenting an outright bug fixed in 4.3BSD.Anthony J. Bentley
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
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2009-01-04replace hardcoded exit values with .Ex macros;Igor Sobrado
2008-06-19do not print spurious whitespace when reading from stdin;Otto Moerbeek
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2005-10-19Add -h option to display human-readable numbers.Marc Espie
2005-04-11spacingTheo de Raadt
2004-12-19remove section detailing `file' operand: none of our other pages do itJason McIntyre
2004-04-07- alter .Nd to reflect that characters can be counted alsoJason McIntyre
2003-06-10- section reorderJason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-01-12typos; jmc@prioris.mini.pw.edu.plTheo de Raadt
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
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-03-06Some section re-ordering.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
1999-10-17Use the AT&T UNIX macros.Aaron Campbell
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
1998-11-04be really pedantic about punctuation following -mdoc macro'd textAaron Campbell
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell