From 95732b497d12c98613bb3c5db16b61f377501a59 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 7 Dec 2005 14:08:12 +0000 Subject: Imported from ../bash-3.1.tar.gz. --- tests/nquote.tests | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tests/nquote.tests') diff --git a/tests/nquote.tests b/tests/nquote.tests index 05709f4..b25fbe3 100644 --- a/tests/nquote.tests +++ b/tests/nquote.tests @@ -77,4 +77,26 @@ printf "\'abcd\'\n" echo -e "\'abcd\'" echo -e "\\'abcd\\'" +# and what do we do about unrecognized escape sequences? +shopt -s xpg_echo + +recho $'A\CB' + +recho "A\CB" + +cde=c +recho $'ab$cde' + +printf "%b\n" 'A\CB' +printf 'A\CB\n' + +echo 'A\CB' + +world=chet + +recho $'hello, $"world"' +recho $'hello, \$"world"' +recho $'hello, $\"world"' + +recho "hello, $"world"" -- cgit v1.2.3