|
|
1.1 ! root 1: #print ! 2: So far you only know how to copy and print existing files in the editor, ! 3: and not how to get started from scratch. The 'a' (append) command lets ! 4: you type in new text. For example, the sequence ! 5: ex file ! 6: a ! 7: this is a new line of text ! 8: . ! 9: wq ! 10: will append the line ! 11: this is a new line of text ! 12: to the editor buffer, and then write it on "file". (If "file" doesn't ! 13: already exist, the editor will warn you, but it's not an error.) ! 14: ! 15: Note that the material being added ends with the line that just contains ! 16: a single '.' and that normal editor commands then resume. Following this ! 17: pattern, make a file named "pres" that contains the line ! 18: ! 19: franklin delano roosevelt ! 20: ! 21: and, after you have written it with a 'w' command, and done your 'q', ! 22: try saying "cat pres" to check that you did it right. Then type "ready". ! 23: #create Ref ! 24: franklin delano roosevelt ! 25: #user ! 26: #cmp pres Ref ! 27: #log ! 28: #next ! 29: 15.1b 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.