source: trunk/essentials/app-shells/bash/tests/redir3.sub

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

bash 3.1

File size: 234 bytes
Line 
1read line1
2
3echo read line1 \"$line1\"
4
5exec 4<./redir3.in2
6
7exec 5<&0
8exec 0<&4
9
10read line2
11
12echo read line2 \"$line2\"
13
14exec 0<&5
15
16read line3
17
18echo read line3 \"$line3\"
19
20exec 0<&4
21
22read line4
23
24echo read line4 \"$line4\"
25
26exec 4<&-
Note: See TracBrowser for help on using the repository browser.