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

1.1     ! root        1: #print
        !             2: Since the "?" character only matches single characters,
        !             3: it isn't useful for such questions as "how many files
        !             4: have names beginning with g?"  There is another character,
        !             5:   *
        !             6: which can be used in patterns for file names, and which matches
        !             7: any number of characters of any sort.  Thus
        !             8:    g*
        !             9: matches anything beginning with g.
        !            10: And
        !            11:    *x
        !            12: matches anything ending in x.  
        !            13: There is one file in this directory whose name ends
        !            14: in "memo".  Find out that file name
        !            15: and print the contents of the file.  Then type "ready".
        !            16: #create mymemo
        !            17: This is the 7-line file "mymemo";  you should
        !            18: have typed "ls *memo", which would print
        !            19: "mymemo", and then typed the
        !            20: command "cat mymemo".
        !            21: Or just plain "cat *memo" would have worked.
        !            22: But whatever you did, you got it right
        !            23: and now you can type "ready".
        !            24: #copyout
        !            25: #user
        !            26: #uncopyout
        !            27: tail -7 .ocopy >X2
        !            28: #cmp mymemo X2
        !            29: #log
        !            30: #next
        !            31: 6.1b 0
        !            32: 6.1c 5
        !            33: 6.1e 10

unix.superglobalmegacorp.com

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