mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
23086: printf should handle octal escapes in the \0NNN form
This commit is contained in:
parent
f7476178bc
commit
cfbcd2dbe0
3 changed files with 12 additions and 2 deletions
|
|
@ -259,3 +259,7 @@
|
|||
printf $'%\0'
|
||||
1:explicit null after % in format specifier
|
||||
?(eval):printf:1: %: invalid directive
|
||||
|
||||
printf '%b\n' '\0123'
|
||||
0:printf handles \0... octal escapes in replacement text
|
||||
>S
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue