Annotation of 43BSDTahoe/usr.lib/learn/files/L7.2a, revision 1.1.1.1

1.1       root        1: #print
                      2: Sometimes ? is too flexible, and you
                      3: only want to allow a few characters.  For example,
                      4: you might want to abbreviate
                      5:   ls memo.ab memo.ac
                      6: without picking up "memo.ad", "memo.ae", and so forth.
                      7: You can match one of a set of particular characters by 
                      8: putting them in brackets "[]" in the list you use with "ls".
                      9: For example,
                     10:   [bc]
                     11: matches either b or c but no other letters.  Thus
                     12:   ls memo.a[bc]
                     13: will list exactly "memo.ab" and "memo.ac" if present.
                     14: 
                     15: How many of the files
                     16:   xya, xyb, xyc, xyd
                     17: exist in this directory?
                     18: Type "answer N" where N is the number.
                     19: #create xyb
                     20: #create xyc
                     21: #create xye
                     22: #create xyf
                     23: #create xy1
                     24: #copyin
                     25: #user
                     26: #uncopyin
                     27: #match 2
                     28: #log
                     29: #next
                     30: 7.2b 10

unix.superglobalmegacorp.com

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