source: vendor/bash/3.1-p17/tests/misc/redir-t2.sh

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 170 bytes
Line 
1read line1
2
3echo read line 1 \"$line1\"
4
5exec 4<&0
6
7exec 0</dev/tty
8
9read line2
10
11echo line read from tty = \"$line2\"
12
13exec 0<&4
14
15read line3
16
17echo read line 3 \"$line3\"
Note: See TracBrowser for help on using the repository browser.