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

1.1     ! root        1: #print
        !             2: It seems silly to use a temporary file when all that's really
        !             3: needed is to take the output from one program like "ls",
        !             4: and pass it directly to the input of another, like "wc".
        !             5: One of the original contributions of Unix is a clean
        !             6: way to do this, called a "pipe".  You can connect two
        !             7: programs with a pipe like this:
        !             8:   ls | wc
        !             9: and the output of the first program goes into the input of
        !            10: the second without any intervening file.
        !            11: 
        !            12: Try this pair of commands in a pipeline.
        !            13: Try an ordinary "ls" command too, to verify that you
        !            14: got the right answer.  Then type "ready".
        !            15: #create X1
        !            16: #copyin
        !            17: #user
        !            18: #uncopyin
        !            19: grep 'ls *| *wc' .copy >/dev/null
        !            20: #log
        !            21: #next
        !            22: 5.1c

unix.superglobalmegacorp.com

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