summaryrefslogtreecommitdiffstats
path: root/usr.bin/wc
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-3/+15
| |\ | |/ |/|
| * Updated/new dependenciessjg2014-11-191-0/+1
| |
| * Merge from head@274682sjg2014-11-193-19/+45
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Fix SIGINFO race causing final results to be lost to stderr.bdrewery2015-04-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a SIGINFO comes in after the file is read then the 'siginfo' flag is set to 1 and the next call to show_cnt() (at exit) would print the data to stderr rather than the expected stdout. This was found with spamming Poudriere with SIGINFO which caused a 'wc -l' execution to return no data rather than an expected number. MFC after: 2 weeks
* | | Close the file list before opening the container that holds themarcel2015-02-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | totals, otherwise we end up emitting invalid JSON -- provided libxo does not prevent us from doing that. PR: 197499 Submitted by: allanjude@
* | | Convert to usr.bin/ to LIBADDbapt2014-11-251-2/+1
| |/ |/| | | | | Reduce overlinking
* | Fix a SIGSEGV when emitting XML or JSON when reading stdin. In thatmarcel2014-11-071-3/+1
| | | | | | | | case the file variable is NULL.
* | Separate references by a comma.marcel2014-11-061-2/+2
| |
* | Document that wc(1) supports libxo(3).marcel2014-11-051-1/+4
| |
* | Convert to use libxo.marcel2014-11-052-17/+42
|/ | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc.
* Add missing static keywords to wc(1)ed2011-11-061-2/+2
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-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).pjd2010-05-171-1/+2
| | | | Pointed out by: jh
* On SIGINFO print current values on stderr.pjd2010-05-161-44/+68
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Add missing `void' keyword for function without arguments.ed2009-12-291-1/+1
|
* Add a -L option to wc(1), for finger compatibility with the GNUkeramida2008-12-062-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.ru2006-12-211-1/+1
|
* Improve markup.ru2006-12-211-4/+9
|
* Fix mismerge.trhodes2005-02-261-1/+1
| | | | Noticed by: tjr
* Add better mdoc(7) mark up, clean up wording, better describe the effectstrhodes2005-02-231-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.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-4/+4
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Scheduled mdoc(7) sweep.ru2005-01-111-2/+3
|
* Remove warnings and make wc WARNS=6 clean.josef2004-12-272-6/+4
| | | | | | Add FreeBSD Id to Makefile. Approved by: ssouhlal
* Deal with double whitespace.ru2004-07-031-1/+3
|
* Improve robustness of multibyte character handling (-m option), andtjr2004-04-091-19/+23
| | | | | simplify the read buffering now that we can feed partial multibyte characters to mbrtowc().
* mdoc(7) police: markup polishing.ru2002-11-261-4/+2
| | | | Approved by: re
* Locale environment variables influence wc(1) regardless of whether thetjr2002-08-111-4/+1
| | | | -m option is specified; correct ENVIRONMENT section.
* Use the iswspace(3) function now that it's been implemented.tjr2002-08-112-5/+5
|
* When counting words, check the correct character variable to see whether it'stjr2002-06-161-2/+2
| | | | | | a space or not. Noticed by: bde
* fstat() returns information about the target of any symbolic link thattjr2002-06-151-2/+2
| | | | was opened, not the link itself. Remove dead code.
* Correct the Standards section: wc is a utility, not a function.tjr2002-06-131-1/+1
|
* Bump document date for previous commit.tjr2002-06-131-1/+1
|
* Add the -m option, which counts characters (as opposed to -c, whichtjr2002-06-132-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 __Pimp2002-03-221-2/+2
|
* Leave the `copyright' variable exposed, since the main purpose of itmike2002-03-071-2/+2
| | | | | | is to put a copyright in the object file. Submitted by: bde
* Fix vendor ID (mostly obtained from rev 1.1).mike2002-02-281-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().markm2001-12-111-8/+7
| | | | Not added to Makefgile as WARNS=2 will be made default.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+4
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
OpenPOWER on IntegriCloud