diff options
Diffstat (limited to '')
-rw-r--r-- | tests/glob4.sub | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/glob4.sub b/tests/glob4.sub new file mode 100644 index 0000000..378b5a9 --- /dev/null +++ b/tests/glob4.sub @@ -0,0 +1,13 @@ +trap "rm 'a?' aa" EXIT +touch 'a?' aa + +set -- a \?; IFS=\\; var=$*; +recho "$var" +unset IFS; printf "%s\n" ${var} + +var='a\?' +recho "$var" +printf "%s\n" ${var} + +var='a\a' +printf "%s\n" ${var} |