| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Obtained from: Slava Semushin via NetBSD
Notes:
svn path=/head/; revision=166134
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Mention that some of them are POSIX extensions. [2]
PR: docs/85062 [1]
Submitted by: Toby Peterson [1]
Obtained from: wctype(3) [2]
MFC after: 3 days
Notes:
svn path=/head/; revision=163315
|
|
|
|
| |
Notes:
svn path=/head/; revision=144840
|
|
|
|
| |
Notes:
svn path=/head/; revision=141851
|
|
|
|
| |
Notes:
svn path=/head/; revision=140420
|
|
|
|
| |
Notes:
svn path=/head/; revision=140368
|
|
|
|
|
|
|
| |
(This exposes a bug in mdoc(7) for which a patch has been sent upstream.)
Notes:
svn path=/head/; revision=140054
|
|
|
|
|
|
|
|
|
|
|
| |
check to see that a given digit is actually an octal digit. This leads to
unusual consequences if passed in values like \9.
Reported by: Joseph Davison (OpenDarwin project)
MFC after: 1 week
Notes:
svn path=/head/; revision=137685
|
|
|
|
|
|
|
| |
strings in ``obsolete quotes''. Use Li and Ql where appropriate.
Notes:
svn path=/head/; revision=132574
|
|
|
|
|
|
|
| |
right way to perform case-conversion.
Notes:
svn path=/head/; revision=132572
|
|
|
|
| |
Notes:
svn path=/head/; revision=132144
|
|
|
|
| |
Notes:
svn path=/head/; revision=132143
|
|
|
|
|
|
|
|
| |
before trying to coalesce. Forgetting to splay caused us to miss many
opportunities for coalescing.
Notes:
svn path=/head/; revision=132142
|
|
|
|
| |
Notes:
svn path=/head/; revision=131891
|
|
|
|
| |
Notes:
svn path=/head/; revision=131855
|
|
|
|
|
|
|
| |
description of the -c option to refer to "values" instead of "byte values".
Notes:
svn path=/head/; revision=131849
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
data structures that scale better with large character sets, instead of
arrays indexed by character value:
- Sets of characters to delete/squeeze are stored in a new "cset" structure,
which is implemented as a splay tree of extents. This structure has the
ability to store character classes (ala wctype(3)), but this is not
currently fully utilized.
- Mappings between characters are stored in a new "cmap" structure, which
is also a splay tree.
- The parser no longer builds arrays containing all the characters in a
particular class; instead, next() determines them on-the-fly using
nextwctype(3).
Notes:
svn path=/head/; revision=131846
|
|
|
|
| |
Notes:
svn path=/head/; revision=131491
|
|
|
|
|
|
|
| |
and character string arguments.
Notes:
svn path=/head/; revision=131228
|
|
|
|
|
|
|
| |
by POSIX and gains nothing with current code.
Notes:
svn path=/head/; revision=118475
|
|
|
|
| |
Notes:
svn path=/head/; revision=118474
|
|
|
|
| |
Notes:
svn path=/head/; revision=118460
|
|
|
|
|
|
|
|
|
| |
makes one malloc unneeded, removes two bzero's and makes code more readable.
"Bright ideas comes only _after_ commits."
Notes:
svn path=/head/; revision=118415
|
|
|
|
|
|
|
|
|
|
| |
is octal sequence, range is taken in the byte values order, for non-octal
endpoints range is taken in the sorted collation order.
Implement it.
Notes:
svn path=/head/; revision=118412
|
|
|
|
|
|
|
|
|
|
|
| |
tr -[cC]s '[:upper:]' '[:lower:]'
case (or vice versa):
chars taken from s2 can be different this time
due to lack of complex upper/lower processing,
so fill string2 again to not miss some.
Notes:
svn path=/head/; revision=118409
|
|
|
|
| |
Notes:
svn path=/head/; revision=118400
|
|
|
|
|
|
|
| |
2) Fix last (repeated) char after [:class:], it was \0 in original code
Notes:
svn path=/head/; revision=118399
|
|
|
|
|
|
|
| |
with ranges.
Notes:
svn path=/head/; revision=118373
|
|
|
|
| |
Notes:
svn path=/head/; revision=118372
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1st one is relatively minor: according our own manpage, upper and lower
classes must be sorted, but currently not.
2nd one is serious:
tr '[:lower:]' '[:upper:]'
(and vice versa) currently works only if upper and lower classes
have exact the same number of elements. When it is not true, like for
many ISO8859-x locales which have bigger amount of lowercase letters,
tr may do nasty things.
See this page
http://www.opengroup.org/onlinepubs/007908799/xcu/tr.html
for detailed description of desired tr behaviour in such cases.
Notes:
svn path=/head/; revision=118371
|
|
|
|
|
|
|
| |
Add FreeBSD Id tag where missing.
Notes:
svn path=/head/; revision=108470
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107276
|
|
|
|
| |
Notes:
svn path=/head/; revision=105323
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
Notes:
svn path=/head/; revision=102944
|
|
|
|
|
|
|
| |
in the locale collating order as required by SUSv3.
Notes:
svn path=/head/; revision=100891
|
|
|
|
|
|
|
|
| |
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
Notes:
svn path=/head/; revision=100874
|
|
|
|
|
|
|
| |
error message.
Notes:
svn path=/head/; revision=99433
|
|
|
|
|
|
|
|
| |
[:*] and [=*] are parsed as `infinitely many repetitions of :' (or *)
instead of literal characters (SUSv3)
Notes:
svn path=/head/; revision=98242
|
|
|
|
| |
Notes:
svn path=/head/; revision=98222
|
|
|
|
|
|
|
| |
of a previous commit implementing equivalence classes.
Notes:
svn path=/head/; revision=98221
|
|
|
|
| |
Notes:
svn path=/head/; revision=98217
|
|
|
|
|
|
|
|
| |
character in the set. tr -d '[=a=]' was deleting ]'s as well as a's.
Noticed by the textutils test suite.
Notes:
svn path=/head/; revision=98215
|
|
|
|
|
|
|
| |
(not byte values) specified by the first string argument.
Notes:
svn path=/head/; revision=98214
|
|
|
|
|
|
|
| |
one-to-one (SUSv3)
Notes:
svn path=/head/; revision=98210
|
|
|
|
| |
Notes:
svn path=/head/; revision=92922
|
|
|
|
|
|
|
|
| |
PR: 34663
MFC After: 3 days
Notes:
svn path=/head/; revision=91562
|
|
|
|
| |
Notes:
svn path=/head/; revision=87705
|
|
|
|
| |
Notes:
svn path=/head/; revision=81687
|
|
|
|
| |
Notes:
svn path=/head/; revision=81622
|
|
|
|
| |
Notes:
svn path=/head/; revision=79755
|