Annotation of 42BSD/usr.lib/learn/files/L6.2a, revision 1.1

1.1     ! root        1: #print
        !             2: Since the '?' character only matches single
        !             3: characters in file names, it is not useful for
        !             4: questions like "how many files have names which
        !             5: begin with the letter g?"  There is another character
        !             6:   *
        !             7: which can be used in patterns for file names
        !             8: and matches any number of any kind of characters.
        !             9: So
        !            10:   g*
        !            11: selects all file names beginning with g, and
        !            12:   *x
        !            13: selects all file names which end in x.  Try
        !            14:   ls *x
        !            15: How many files match?
        !            16: Compare with an ordinary
        !            17:   ls
        !            18: if you like.  Type "answer N" eventually where
        !            19: N is the number of files whose names end in "x".
        !            20: #create abcx
        !            21: #create abcxdef
        !            22: #create memox
        !            23: #create memoy
        !            24: #create memoz
        !            25: #create x
        !            26: #create x53x
        !            27: #copyin
        !            28: #user
        !            29: #uncopyin
        !            30: #match 4
        !            31: #log
        !            32: #next
        !            33: 6.2b 8
        !            34: 6.1a 1

unix.superglobalmegacorp.com

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