summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir/redir2.tests
blob: 61ccea30cb53205c0d5bf47b3389605b1e4a27f7 (plain)
1
2
3
4
5
# ash once couldn't redirect above fd#9
exec 1>/dev/null
(echo LOST1 >&22) 22>&1
(echo LOST2 >&22) 22>&1
(echo OK >&22) 22>&2