|
|
1.1 ! root 1: #print ! 2: Each 'w' command typed so far has written the edited material ! 3: back on the same file that it came from originally. ! 4: This can be changed by giving a filename on the 'w' command: ! 5: w camden ! 6: will write the current editor buffer ! 7: on file 'camden'. What does the following ! 8: sequence of commands do? ! 9: ex old ! 10: w new ! 11: q ! 12: As you can see, it picks up file 'old', and ! 13: writes it on file 'new'. It has the same effect ! 14: as ! 15: cp old new ! 16: does. ! 17: ! 18: In this directory there is a file named "old". ! 19: Copy that file to file "new" with the editor, using ! 20: the commands given above. Check by printing ! 21: both files with "cat" that they are the same. ! 22: Type "ready" when done. ! 23: #create Ref ! 24: Four score and seven years ago our ! 25: fathers brought forth on this continent ! 26: a new nation, conceived in liberty and ! 27: dedicated to the proposition that ! 28: all men are created equal. ! 29: #create old ! 30: Four score and seven years ago our ! 31: fathers brought forth on this continent ! 32: a new nation, conceived in liberty and ! 33: dedicated to the proposition that ! 34: all men are created equal. ! 35: #user ! 36: #cmp old new ! 37: #log ! 38: #next ! 39: 12.2b 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.