Annotation of 43BSD/usr.lib/learn/files/L7.2b, revision 1.1.1.1

1.1       root        1: #print
                      2: You can put any number of characters between [..]
                      3: characters, as in
                      4:   [abcdef]
                      5: which matches any of the six letters from a to f;
                      6: and you can put something like that anywhere in a pattern
                      7: for a file name.  For example,
                      8:   ls [abcd]x
                      9: matches any of
                     10:  ax, bx, cx, dx
                     11: You can also combine this with other operators such as
                     12: * or ?.  For example,
                     13:   ls [ab]?
                     14: matches all two-letter names beginning with a or b.
                     15: How would you ask for all names, of any length, ending
                     16: in 1 2 or 3?
                     17: You can experiment in this directory; eventually,
                     18: type the "ls" command you decide on followed by "ready".
                     19: #create a1
                     20: #create a12
                     21: #create a1a
                     22: #create a2
                     23: #create a23
                     24: #create aa1
                     25: #create abc1
                     26: #copyin
                     27: #user
                     28: #uncopyin
                     29: #match ls *[123]
                     30: #log
                     31: #next
                     32: 8.1a 10

unix.superglobalmegacorp.com

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