Annotation of 43BSD/usr.lib/learn/morefiles/L5.1a, revision 1.1

1.1     ! root        1: #print
        !             2: If you think back over some of the exercises you've done
        !             3: so far in this course, they have involved collecting the
        !             4: output of one program (like "cat" or "grep" or "ls") in
        !             5: a file, then using that file as the input to another
        !             6: program, like "pr" or "wc" or "grep".
        !             7: For example, you could use "ls" and "wc" to _____count
        !             8: the number of files in a directory.  Do that now,
        !             9: then type "answer N", where N is the number of files.
        !            10: #create X2
        !            11: #create X1
        !            12: #create this
        !            13: #create stuff
        !            14: #create foo
        !            15: #copyin
        !            16: #user
        !            17: #uncopyin
        !            18: ls | %s/../bin/lcount >X1
        !            19: tail -1 .copy >X2
        !            20: #cmp X1 X2
        !            21: #log
        !            22: #next
        !            23: 5.1b 10

unix.superglobalmegacorp.com

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