-.\" $OpenBSD: wc.1,v 1.24 2015/03/13 19:58:41 jmc Exp $
+.\" $OpenBSD: wc.1,v 1.25 2015/04/21 10:46:48 schwarze Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" from: @(#)wc.1 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: March 13 2015 $
+.Dd $Mdocdate: April 21 2015 $
.Dt WC 1
.Os
.Sh NAME
The number of lines in each input file
is written to the standard output.
.It Fl m
-The number of characters in each input file
-is written to the standard output.
+Intended to count characters instead of bytes;
+currently an alias for
+.Fl c .
.It Fl w
The number of words in each input file
is written to the standard output.
The default action is equivalent to the flags
.Fl clw
having been specified.
-The
-.Fl c
-and
-.Fl m
-options are mutually exclusive.
.Pp
If no file names are specified, the standard input is used
and a file name is not output.
lines words bytes file_name
.Ed
.Pp
-If the
-.Fl m
-option is specified,
-the number of bytes is replaced by
-the number of characters in the listing above.
The counts for lines, words, and bytes
.Pq or characters
are integers separated by spaces.
.Nm
utility is compliant with the
.St -p1003.1-2008
-specification.
+specification, except that it ignores the locale.
.Pp
The flag
.Op Fl h
.Nm
utility appeared in
.At v1 .
+.Sh BUGS
+The
+.Fl m
+option counts bytes instead of characters.