improve of cmpl.
[bush.git] / tests / misc / redir-t2.sh
blob44b2624ee8e9d756cb1ddef09668747964ce7a3e
1 read line1
3 echo read line 1 \"$line1\"
5 exec 4<&0
7 exec 0</dev/tty
9 read line2
11 echo line read from tty = \"$line2\"
13 exec 0<&4
15 read line3
17 echo read line 3 \"$line3\"