1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-24 02:08:57 +03:00

doc: cut: clarify that combining characters are not treated specially

This is for consistency with other implementations and since the
interface separates -b and -c it might in future support -g (graphemes).
Normalizing content with a filter seems like the most appropriate
approach anyway, as there are various normalizations possible including
case etc. rather than baking that into every tool
This commit is contained in:
Pádraig Brady
2026-03-28 16:18:41 +00:00
parent 25f0702eaa
commit fe00823330

View File

@@ -6164,8 +6164,9 @@ string between ranges of selected bytes.
@optItemx{cut,--characters,=@var{character-list}}
Select for printing only the characters in positions listed in
@var{character-list}. Tabs and backspaces are
treated like any other character; they take up 1 character. If an
output delimiter is specified, (see the description of
treated like any other character; they take up 1 character.
Combining characters are considered as separate characters.
If an output delimiter is specified, (see the description of
@option{--output-delimiter}), then output that string between ranges
of selected characters.