|
From: | Eric Blake |
Subject: | bug#32703: echo_man_error |
Date: | Mon, 24 Sep 2018 08:52:43 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 9/23/18 9:48 PM, Pádraig Brady wrote:
I'll push the attached later. Interesting there were no echo tests until now. Marking this as done.
Thanks.
+++ b/tests/misc/echo.sh
+ +# Verify the methods of specifying "Escape": +# Note 4 octal digits are allows (unlike printf which uses up to 3)
allowed
+++ b/tests/misc/printf.sh @@ -60,9 +60,8 @@ $prog '5 % +d\n' 234 >> out || fail=1 # coreutils-5.0.1, it would print six bytes: "6 \41\n". $prog '6 \41\n' | tr '\41' '!' >> out-# Note that as of coreutils-5.0.1, printf with a format of '\0002x'-# prints a NUL byte followed by the digit '2' and an 'x'. -# By contrast bash's printf outputs the same thing as $(printf '\2x') does. +# Note that as of coreutils-5.0.1, printf with a format of '\0002y' +# prints a NUL byte followed by the digit '2' and an 'y'.
s/an/a/ -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |