diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-01-04 15:41:21 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-01-04 15:41:21 +0000 |
commit | cfbcd2dbe0ddcb18d8011e20058d1081d33f697a (patch) | |
tree | e9507c1f6961816df9ff3ae46b11a2961a3c4015 /Test/B03print.ztst | |
parent | f7476178bc3d0080c1c0fff3f88fe12886f471a1 (diff) | |
download | zsh-cfbcd2dbe0ddcb18d8011e20058d1081d33f697a.tar.gz zsh-cfbcd2dbe0ddcb18d8011e20058d1081d33f697a.tar.xz zsh-cfbcd2dbe0ddcb18d8011e20058d1081d33f697a.zip |
23086: printf should handle octal escapes in the \0NNN form
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r-- | Test/B03print.ztst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst index d6dea5a3d..e36e55caa 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -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 |