version 1.22, 2010/09/03 11:09:29 |
version 1.23, 2014/11/15 13:55:25 |
|
|
The flag |
The flag |
.Op Fl h |
.Op Fl h |
is an extension to that specification. |
is an extension to that specification. |
.Pp |
|
Historically, the |
|
.Nm |
|
utility was documented to define a word as a ``maximal string of |
|
characters delimited by |
|
.Aq space , |
|
.Aq tab |
|
or |
|
.Aq newline |
|
characters''. |
|
The implementation, however, didn't handle non-printing characters |
|
correctly so that `` ^D^E '' counted as 6 spaces, while ``foo^D^Ebar'' |
|
counted as 8 characters. |
|
4BSD systems after 4.3BSD modified the implementation to be consistent |
|
with the documentation. |
|
This implementation defines a |
|
.Dq word |
|
in terms of the |
|
.Xr isspace 3 |
|
function, as required by |
|
.St -p1003.2-92 . |
|
.Sh HISTORY |
.Sh HISTORY |
A |
A |
.Nm |
.Nm |