From cfbcd2dbe0ddcb18d8011e20058d1081d33f697a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 4 Jan 2007 15:41:21 +0000 Subject: 23086: printf should handle octal escapes in the \0NNN form --- Test/B03print.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') 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 -- cgit 1.4.1