From d4eded2376706c67b680ad522e61cbe54d8214b0 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 15 Jan 2015 11:21:07 -0800 Subject: Make octal/hex escapes in printf and echo output literal bytes Fixes #1894 --- tests/test1.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test1.in') diff --git a/tests/test1.in b/tests/test1.in index 6f25e8ae..1a701695 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -118,6 +118,8 @@ echo -e 'abc\cdef' # won't output a newline! echo '' echo - +echo -ne '\376' | xxd -p + echo -e Catch your breath echo -e 'abc\x21def' -- cgit v1.2.3