hush/shell/hush_test/hush-psubst/tick3.tests

13 lines
274 B
Plaintext
Executable File

test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
TEST=Q
# \` is special
echo `echo '\'TEST\`echo ZZ\`BEST`
# \$ and \\ are special
echo `echo \\$TEST`
echo `echo \$TEST`
echo a`echo \\\\b`c
# \" etc are NOT special (passed verbatim WITH \)!
echo a`echo \"`c
echo done:$?