BSD 3 development
[unix-history] / usr / lib / learn / files / L5.1e
CommitLineData
fd15fd37
BJ
1#print
2Not only may the ? appear anywhere in a name,
3but there may be several ? characters in it.
4For example,
5 g??rge
6will match "george" and "goerge", among others.
7And "a??" will match "abc" or "a11" (but NOT "ax").
8Look at the files in the current directory and decide
9how many names the pattern
10 a?b?c
11will select. Again, you can try this out
12by comparing an ordinary "ls" with "ls a?b?c"
13to see what happens. When you figure
14out how many names are selected,
15type "answer N" where N is the number of file names.
16#create a0b0c
17#create a0bc
18#create a0x0c
19#create a1bxc
20#create aabbc
21#create azbzcz
22#copyin
23#user
24#uncopyin
25#match 3
26#log
27#next
286.1a 5
296.2a 2