Commit | Line | Data |
---|---|---|
fd15fd37 BJ |
1 | |
2 | You can use patterns for file names with commands | |
3 | other than "ls". For example, you can use them with | |
4 | the "cat" command to print files. | |
5 | This directory has three files named | |
6 | parta | |
7 | partb | |
8 | partc | |
9 | You can use | |
10 | cat part? | |
11 | to print all of them. Try that; then | |
12 | type "ready". | |
13 | #create parta | |
14 | This is file parta; | |
15 | it has two lines. | |
16 | #create partb | |
17 | File partb here - has only one line. | |
18 | #create partc | |
19 | And now in file partc, which has | |
20 | the enormous total of | |
21 | three lines. | |
22 | #create partxxx | |
23 | You shouldn't have printed this one. | |
24 | #copyin | |
25 | #user | |
26 | #uncopyin | |
27 | grep 'cat part?' .copy >/dev/null | |
28 | #log | |
29 | #next | |
30 | 9.2b 5 |