imp
7e6cabd06e
Renumber copyright clause 4
...
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
rodrigc
9405dd95c9
Add more text to explain --libxo flag.
2015-12-01 19:18:53 +00:00
ngie
5c0da1966c
Make libxo depend on libutil because it uses humanize_number after r287111
...
Remove overlinking in lib/libxo/tests, sbin/savecore, and
usr.bin/{iscsictl,wc,xo}
PR: 203673
Sponsored by: EMC / Isilon Storage Division
2015-10-18 07:30:50 +00:00
bdrewery
bdebc05d94
Update META_MODE dependencies.
2015-09-17 05:06:34 +00:00
marcel
02ffac2cca
Upgrade libxo to 0.4.5.
...
Local changes incorporated by 0.4.5: r284340
Local changes retained: r276260, r282117
Obtained from: https://github.com/Juniper/libxo
2015-08-24 16:26:20 +00:00
pfg
04e944197e
Clean out some externally visible "more then" grammar
...
MFC after: 3 days
2015-08-11 03:12:09 +00:00
sjg
008d7c831f
Add META_MODE support.
...
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
2015-06-13 19:20:56 +00:00
sjg
75a137820d
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
sjg
65145fa4c8
Merge sync of head
2015-05-27 01:19:58 +00:00
bdrewery
7a3f5ce86a
Fix SIGINFO race causing final results to be lost to stderr.
...
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
2015-04-16 21:44:35 +00:00
marcel
358bcf1eb3
Close the file list before opening the container that holds the
...
totals, otherwise we end up emitting invalid JSON -- provided
libxo does not prevent us from doing that.
PR: 197499
Submitted by: allanjude@
2015-02-11 17:56:24 +00:00
bapt
8d6c7a49a6
Convert to usr.bin/ to LIBADD
...
Reduce overlinking
2014-11-25 14:29:10 +00:00
sjg
e909cd6c36
Updated/new dependencies
2014-11-19 07:10:38 +00:00
sjg
b137080f19
Merge from head@274682
2014-11-19 01:07:58 +00:00
marcel
9563d535f7
Fix a SIGSEGV when emitting XML or JSON when reading stdin. In that
...
case the file variable is NULL.
2014-11-07 01:36:20 +00:00
marcel
75cfc50fe2
Separate references by a comma.
2014-11-06 16:19:21 +00:00
marcel
5efa4ea02c
Document that wc(1) supports libxo(3).
2014-11-05 04:09:10 +00:00
marcel
9f9da1ab13
Convert to use libxo.
...
Obtained from: Phil Shafer <phil@juniper.net>
Sponsored by: Juniper Networks, Inc.
2014-11-05 04:02:25 +00:00
sjg
5860f0d106
Updated dependencies
2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1
Updated dependencies
2014-05-10 05:16:28 +00:00
sjg
6d37b86f2b
Updated dependencies
2013-03-11 17:21:52 +00:00
sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
marcel
9dd41e3647
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
ed
bc3df37206
Add missing static keywords to wc(1)
2011-11-06 08:19:00 +00:00
joel
29af67e52c
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
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
2010-12-11 08:32:16 +00:00
pjd
b503e7f715
Use better type for siginfo (volatile sig_atomic_t instead of int).
...
Pointed out by: jh
2010-05-17 19:13:49 +00:00
pjd
b447cf7e7f
On SIGINFO print current values on stderr.
2010-05-16 21:06:26 +00:00
ed
9b380e30d4
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
ed
1b17641937
Add missing `void' keyword for function without arguments.
2009-12-29 08:54:03 +00:00
keramida
e50dcd2922
Add a -L option to wc(1), for finger compatibility with the GNU
...
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
2008-12-06 19:21:56 +00:00
ru
54c3ccca4d
Prevent a line from being broken on a line boundary.
2006-12-21 22:59:07 +00:00
ru
8a99132532
Improve markup.
2006-12-21 22:44:41 +00:00
trhodes
b06836b9b0
Fix mismerge.
...
Noticed by: tjr
2005-02-26 04:14:20 +00:00
trhodes
e9418b71b6
Add better mdoc(7) mark up, clean up wording, better describe the effects
...
of some arguments.
PR: 47705
Based on a patch submitted by: Gary W. Swearingen <swear@attbi.com>
Glanced at by: simon
2005-02-23 22:40:45 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
7f3c7f0d46
Sort sections.
2005-01-18 13:43:56 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
ru
169f1013f0
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
josef
4eebca2138
Remove warnings and make wc WARNS=6 clean.
...
Add FreeBSD Id to Makefile.
Approved by: ssouhlal
2004-12-27 22:27:56 +00:00
ru
ee5b7e52fa
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
tjr
9e9fb7be4d
Improve robustness of multibyte character handling (-m option), and
...
simplify the read buffering now that we can feed partial multibyte
characters to mbrtowc().
2004-04-09 11:17:29 +00:00
ru
b67068895d
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
tjr
a9d85f1bcc
Locale environment variables influence wc(1) regardless of whether the
...
-m option is specified; correct ENVIRONMENT section.
2002-08-11 10:54:19 +00:00
tjr
40eb0ec9c3
Use the iswspace(3) function now that it's been implemented.
2002-08-11 10:52:13 +00:00
tjr
73014ec07e
When counting words, check the correct character variable to see whether it's
...
a space or not.
Noticed by: bde
2002-06-16 06:04:43 +00:00
tjr
7abf4fbe29
fstat() returns information about the target of any symbolic link that
...
was opened, not the link itself. Remove dead code.
2002-06-15 08:31:19 +00:00
tjr
16f907d030
Correct the Standards section: wc is a utility, not a function.
2002-06-13 13:18:57 +00:00
tjr
3d069b8f73
Bump document date for previous commit.
2002-06-13 13:17:00 +00:00
tjr
1e238aa8c3
Add the -m option, which counts characters (as opposed to -c, which
...
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.
2002-06-13 12:48:50 +00:00
imp
0b20191705
remove __P
2002-03-22 01:42:45 +00:00