2009-04-09 13:20:18 +05:30
|
|
|
test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
|
|
|
|
|
2008-06-11 04:09:37 +05:30
|
|
|
TEST=Q
|
|
|
|
# \` is special
|
|
|
|
echo `echo '\'TEST\`echo ZZ\`BEST`
|
|
|
|
# \$ and \\ are special
|
|
|
|
echo `echo \\$TEST`
|
|
|
|
echo `echo \$TEST`
|
|
|
|
echo a`echo \\\\b`c
|
2010-09-12 18:35:39 +05:30
|
|
|
|
|
|
|
# \" is not special if in unquoted `cmd` (passed verbatim WITH \),
|
|
|
|
# but is special in quoted one
|
|
|
|
echo `echo 11'-$a-\t-\\-\"-\`-\--\z-\*-\?-'22` "`echo 33'-$a-\t-\\-\"-\`-\--\z-\*-\?-'44`"
|
2008-06-11 04:09:37 +05:30
|
|
|
echo done:$?
|