X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fnquote.tests;h=b25fbe3171d8b9310ca940dc0883d254527f1220;hb=95732b497d12c98613bb3c5db16b61f377501a59;hp=05709f458f6570c98d4e94e39561bfb162b9461d;hpb=eb87367179effbe5f430236db8259006d71438b7;p=platform%2Fupstream%2Fbash.git 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""