History log of /freebsd/usr.bin/wc/wc.c (Results 76 – 100 of 100)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# 0970727f 29-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Add missing `void' keyword for function without arguments.


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0
# f45dd010 06-Dec-2008 Giorgos Keramidas <keramida@FreeBSD.org>

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 de

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

show more ...


Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0
# 806abfcc 27-Dec-2004 Josef El-Rayes <josef@FreeBSD.org>

Remove warnings and make wc WARNS=6 clean.
Add FreeBSD Id to Makefile.

Approved by: ssouhlal


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# 149a123b 09-Apr-2004 Tim J. Robbins <tjr@FreeBSD.org>

Improve robustness of multibyte character handling (-m option), and
simplify the read buffering now that we can feed partial multibyte
characters to mbrtowc().


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# e58245f7 11-Aug-2002 Tim J. Robbins <tjr@FreeBSD.org>

Use the iswspace(3) function now that it's been implemented.


Revision tags: release/4.6.1, release/4.6.0_cvs
# abd0c85d 16-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

When counting words, check the correct character variable to see whether it's
a space or not.

Noticed by: bde


# a1a27143 15-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

fstat() returns information about the target of any symbolic link that
was opened, not the link itself. Remove dead code.


# ebb42aee 13-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

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

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.

show more ...


# 3f330d7d 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


# 06469209 07-Mar-2002 Mike Barcroft <mike@FreeBSD.org>

Leave the `copyright' variable exposed, since the main purpose of it
is to put a copyright in the object file.

Submitted by: bde


# a821e36e 28-Feb-2002 Mike Barcroft <mike@FreeBSD.org>

Fix vendor ID (mostly obtained from rev 1.1).

Make use of `static' storage-class for local functions.

Replace uses of `u_quad_t' with `uintmax_t'.


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 7a8fb588 11-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fix, use __FBSDID().

Not added to Makefgile as WARNS=2 will be made default.


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# a0cf59e6 13-Aug-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Correct style issues with the previous commit.

Requested by: bde


# af86fc21 06-Aug-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix integer overflow for files containing more than 4GB by using
u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18)

Deprecate register. (NetBSD's rev 1.13)

The diffs from NetBSD

Fix integer overflow for files containing more than 4GB by using
u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18)

Deprecate register. (NetBSD's rev 1.13)

The diffs from NetBSD were not applied verbatim, because we don't care
about NO_QUAD right now.

PR: 12959
Reported by: Nicholas Barnes <nb@ravenbrook.com>
Obtained from: NetBSD

show more ...


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs
# 8c85cce7 25-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Sync usage string according to man page. Silent -Wall.


# c44252b6 06-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.


Revision tags: release/2.2.2_cvs
# 1c8af878 29-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# c115df18 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: release/2.1.5_cvs
# 2c51e5ed 13-Apr-1996 Bruce Evans <bde@FreeBSD.org>

Changed all per-file errors to warnings. Exit with a nonzero status of
if there was a per-file error. My test case of `wc /proc/curproc/*'
works reasonably now (much like `size /proc/curproc/*'.

R

Changed all per-file errors to warnings. Exit with a nonzero status of
if there was a per-file error. My test case of `wc /proc/curproc/*'
works reasonably now (much like `size /proc/curproc/*'.

Reviewed by: wosch

show more ...


# a0d038a4 11-Apr-1996 Wolfram Schneider <wosch@FreeBSD.org>

Do not exit if a file is not readable. This is a short hack
until someone rewrite wc(1).


# ae6fa8ae 10-Jan-1996 Andrey A. Chernov <ache@FreeBSD.org>

Localize it.


Revision tags: release/2.1.0_cvs, release/2.0.5_cvs, release/2.0, release/1.1.5.1_cvs
# 9b50d902 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources


1234