diff options
Diffstat (limited to 'shell/ash_test/ash-parsing/starquoted.tests')
-rwxr-xr-x | shell/ash_test/ash-parsing/starquoted.tests | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/ash_test/ash-parsing/starquoted.tests b/shell/ash_test/ash-parsing/starquoted.tests new file mode 100755 index 0000000..2fe49b1 --- /dev/null +++ b/shell/ash_test/ash-parsing/starquoted.tests @@ -0,0 +1,8 @@ +if test $# = 0; then + exec "$THIS_SH" "$0" 1 abc 'd e f' +fi + +for a in "$*"; do echo ".$a."; done +for a in "$@"; do echo ".$a."; done +for a in "-$*-"; do echo ".$a."; done +for a in "-$@-"; do echo ".$a."; done |