Annotation of 43BSD/usr.lib/learn/files/L7.1a, revision 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", etc.
        !             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,
        !            12: so "ls memo.a[bc]" is the abbreviation for
        !            13: "ls memo.ab memo.ac".
        !            14: You can have as many characters as needed between [ and ].
        !            15: 
        !            16: Type the "ls" command that recognizes
        !            17:   a1cat
        !            18:   a2cat
        !            19:   a3cat
        !            20: and no other files.  Then type "ready".
        !            21: #create a1bat
        !            22: #create a1cat
        !            23: #create a2cat
        !            24: #create a3cat
        !            25: #create a4cat
        !            26: #create acat
        !            27: #copyin
        !            28: #user
        !            29: #uncopyin
        !            30: #match ls a[123]cat
        !            31: #match ls a[1-3]cat
        !            32: #match ls a1cat a2cat a3cat
        !            33: You were supposed to use a[123]cat.
        !            34: Imagine doing it your way with 10 files.
        !            35: #log
        !            36: #next
        !            37: 8.1a 10
        !            38: 8.2a 5

unix.superglobalmegacorp.com

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