Annotation of 43BSD/usr.lib/learn/files/L5.1e, revision 1.1.1.1

1.1       root        1: #print
                      2: Not only may the ? appear anywhere in a name,
                      3: but there may be several ? characters in it.
                      4: For example,
                      5:   g??rge
                      6: will match "george" and "goerge", among others.
                      7: And "a??" will match "abc" or "a11" (but NOT "ax").
                      8: Look at the files in the current directory and decide
                      9: how many names the pattern
                     10:    a?b?c
                     11: will select.  Again, you can try this out
                     12: by comparing an ordinary "ls" with "ls a?b?c"
                     13: to see what happens.  When you figure
                     14: out how many names are selected,
                     15: type "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
                     28: 6.1a 5
                     29: 6.2a 2

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.