Annotation of 43BSDTahoe/usr.lib/learn/morefiles/L3.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: The notation ">" can be used by most programs to capture
                      3: output on a file.  For example, 
                      4: 
                      5:    cat henry >james
                      6: 
                      7: makes a copy of "henry" in the file "james"; in fact this is
                      8: essentially identical to
                      9: 
                     10:    cp henry james
                     11: 
                     12: "cat" is a bit more flexible, though, since you can concatenate
                     13: several files onto one output.  Remember that
                     14: 
                     15:    cat tom dick harry
                     16: 
                     17: copies all three files onto the terminal?
                     18: In this directory is a file named "john".
                     19: Make a file called "mary" that contains ___two copies of "john".
                     20: Type "ready" when you're done.
                     21: #create john
                     22: Now is the time for all good
                     23: men to come to the aid of their
                     24: party
                     25: #create X1
                     26: Now is the time for all good
                     27: men to come to the aid of their
                     28: party
                     29: Now is the time for all good
                     30: men to come to the aid of their
                     31: party
                     32: #user
                     33: #cmp X1 mary
                     34: #log
                     35: #next
                     36: 3.1b 10

unix.superglobalmegacorp.com

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