1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-11 11:37:48 +02:00

doc: dd: document the behavior of conv flags on multibyte characters

* doc/coreutils.texi (dd invocation): Document the behavior of 'dd' on
multibyte characters and some unspecified behavior that will be
documented in a future POSIX release [1].

[1] https://austingroupbugs.net/view.php?id=1959
This commit is contained in:
Collin Funk
2025-12-12 23:11:09 -08:00
parent cfd78d0877
commit 3b809382b8
+11
View File
@@ -9280,6 +9280,17 @@ Change lowercase letters to uppercase.
The @samp{lcase} and @samp{ucase} conversions are mutually exclusive.
@c https://austingroupbugs.net/view.php?id=1959
POSIX leaves the behavior of @samp{lcase} and @samp{ucase} unspecified
on multibyte characters. GNU @command{dd} supports only unibyte
conversion, because multibyte characters may cross block boundaries and
case conversion may change the length of characters.
POSIX also leaves the behavior of @samp{lcase} and @samp{ucase}
unspecified if used with @samp{ascii}, @samp{ebcdic}, or @samp{ibm}.
GNU @command{dd} will perform the case conversion and then perform the
character set conversion.
@item sparse
@opindex sparse
Try to seek rather than write NUL output blocks.