Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/shell/hush_test/hush-vars/var_expand_in_redir.tests

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations) (download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File size: 289 byte(s)
-updated to busybox-1.13.4
1 if test $# = 0; then
2 exec "$THIS_SH" "$0" abc "d e"
3 fi
4
5 echo TEST1 >"$1.out"
6 echo TEST2 >"$2.out"
7 # bash says: "$@.out": ambiguous redirect
8 # ash handles it as if it is '$*' - we do the same
9 echo TEST3 >"$@.out"
10
11 cat abc.out "d e.out" "abc d e.out"
12
13 rm abc.out "d e.out" "abc d e.out"