3
0

tick3.tests 396 B

1234567891011121314
  1. test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
  2. TEST=Q
  3. # \` is special
  4. echo `echo '\'TEST\`echo ZZ\`BEST`
  5. # \$ and \\ are special
  6. echo `echo \\$TEST`
  7. echo `echo \$TEST`
  8. echo a`echo \\\\b`c
  9. # \" is not special if in unquoted `cmd` (passed verbatim WITH \),
  10. # but is special in quoted one
  11. echo `echo 11'-$a-\t-\\-\"-\`-\--\z-\*-\?-'22` "`echo 33'-$a-\t-\\-\"-\`-\--\z-\*-\?-'44`"
  12. echo done:$?