busybox/shell/ash_test/ash-glob/glob_redir.tests

10 lines
213 B
Plaintext
Raw Normal View History

# Redirections are not globbed.
# bash:
# if run as "sh", they are not globbed, but
# if run as "bash", they are!
>z.tmp
echo TEST >?.tmp
echo 'z.tmp:' `cat 'z.tmp'`
echo '?.tmp:' `cat '?.tmp'`
rm 'z.tmp' '?.tmp'