Deal with double whitespace.

This commit is contained in:
Ruslan Ermilov 2004-07-03 00:24:45 +00:00
parent bac7835b60
commit 557b7fa148
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131507
31 changed files with 112 additions and 110 deletions

View file

@ -221,7 +221,7 @@ while the second is an argument to the shell being invoked.
Simulate a login for user foo.
.It Li "su - foo"
Same as above.
.It Li "su - "
.It Li "su -"
Simulate a login for root.
.El
.Sh HISTORY

View file

@ -120,7 +120,9 @@ Historically, the
utility was documented to define a word as a ``maximal string of
characters delimited by <space>, <tab> or <newline> characters''.
The implementation, however, didn't handle non-printing characters
correctly so that `` ^D^E '' counted as 6 spaces, while ``foo^D^Ebar''
correctly so that
.Dq " ^D^E "
counted as 6 spaces, while ``foo^D^Ebar''
counted as 8 characters.
.Bx 4
systems after