1 # $FreeBSD: head/bin/sh/tests/expansion/redir1.0 273920 2014-10-31 22:28:10Z jilles $
5 for j in 0 1 2 3 4 5 6 7; do
6 for k in 0 1 2 3 4 5 6 7; do
10 set -- "$(printf \\$i$j$k@)"
13 for f in /dev/null /dev/zero /; do
14 if [ -e "$f" ] && [ ! -e "$f$1" ]; then
18 [ -n "$ff" ] || continue
19 if { true <$ff$1; } 2>/dev/null; then
20 echo "Bad: $i$j$k ($ff)" >&2