Commit | Line | Data |
---|---|---|
b651a7ba BJ |
1 | New I-beams: |
2 | ||
3 | 1I'file name' -Switch input to 'file name'. | |
4 | 1I0 -Switch input back to the terminal. | |
5 | ||
6 | 2I'file name' -Switch output to 'file name'. | |
7 | 2I0 -Switch output back to the terminal. | |
8 | ||
9 | 3I'file name' -Switch output to 'file name'. If the | |
10 | file exists, append to it. | |
11 | 3I0 -Switch output back to the terminal. | |
12 | ||
13 | 10I 'UNIX command' -Execute the command as if it were | |
14 | typed in to UNIX. | |
15 | ||
16 | In the above examples, the zero could have also been a null vector. | |
17 | ||
18 | Example: | |
19 | ||
20 | If OUTPUTFILE is a character vector which contains a file name, | |
21 | the file could be printed by the command: | |
22 | ||
23 | 10I'pr -l64 ',OUTPUTFILE,' | opr -lp' |