source:
trunk/essentials/app-shells/bash/tests/redir3.sub
Last change on this file was 3228, checked in by , 18 years ago | |
---|---|
File size: 234 bytes |
Line | |
---|---|
1 | read line1 |
2 | |
3 | echo read line1 \"$line1\" |
4 | |
5 | exec 4<./redir3.in2 |
6 | |
7 | exec 5<&0 |
8 | exec 0<&4 |
9 | |
10 | read line2 |
11 | |
12 | echo read line2 \"$line2\" |
13 | |
14 | exec 0<&5 |
15 | |
16 | read line3 |
17 | |
18 | echo read line3 \"$line3\" |
19 | |
20 | exec 0<&4 |
21 | |
22 | read line4 |
23 | |
24 | echo read line4 \"$line4\" |
25 | |
26 | exec 4<&- |
Note:
See TracBrowser
for help on using the repository browser.