diff options
author | Pádraig Brady <P@draigBrady.com> | 2022-10-27 15:17:07 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2022-10-28 13:45:27 +0100 |
commit | 0925e8a0f413ecf9004153d89b312b385b20d0ee (patch) | |
tree | 770853d22dd1be85c038ce280399ff16d80e8328 /NEWS | |
parent | 468c4fb10d08c54823a42f7aa0d7fe7e9552b2c3 (diff) | |
download | coreutils-0925e8a0f413ecf9004153d89b312b385b20d0ee.tar.gz |
printf: with \U, support all valid unicode points
Previously this was restricted to the C99 universal character subset,
which restricted most values <= 0x9F, as that simplifies the C lexer.
However printf(1) doesn't need this restriction.
Note also the bash builtin printf already supports all values <= 0x9F.
* src/printf.c (main): Relax the restriction on points <= 0x9F.
* doc/coreutils.texi (printf invocation): Adjust description.
* tests/misc/printf-cov.pl: Adjust accordingly. Add new cases.
* NEWS: Mention the change in behavior.
Reported at https://bugs.debian.org/1022857
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,10 @@ GNU coreutils NEWS -*- outline -*- reverting to the behavior in coreutils-9.0 and earlier. This behavior is now documented. + printf unicode \uNNNN, \UNNNNNNNN syntax, now supports all valid + unicode code points. Previously is was restricted to the C + universal character subset, which restricted most points <= 0x9F. + runcon now exits with status 125 for internal errors. Previously upon internal errors it would exit with status 1, which was less distinguishable from errors from the invoked command. |