summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst/tick3.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-psubst/tick3.tests')
-rwxr-xr-xshell/hush_test/hush-psubst/tick3.tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/hush_test/hush-psubst/tick3.tests b/shell/hush_test/hush-psubst/tick3.tests
new file mode 100755
index 0000000..97b45e4
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick3.tests
@@ -0,0 +1,11 @@
+#!/bin/sh
+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:$?