Imported from ../bash-1.14.7.tar.gz.
[platform/upstream/bash.git] / tests / misc / redir.t2.sh
1 read line1
2
3 echo read line 1 \"$line1\"
4
5 exec 4<&0
6
7 exec 0</dev/tty
8
9 read line2
10
11 echo line read from tty = \"$line2\"
12
13 exec 0<&4
14
15 read line3
16
17 echo read line 3 \"$line3\"