.RP .TL A Tutorial Introduction to the \s-2UNIX\s+2 Text Editor .AU Brian W. Kernighan .AI .MH .AB .PP Almost all text input on the .UX operating system is done with the text-editor .IT ed . This memorandum is a tutorial guide to help beginners get started with text editing. .PP Although it does not cover everything, it does discuss enough for most users' day-to-day needs. This includes printing, appending, changing, deleting, moving and inserting entire lines of text; reading and writing files; context searching and line addressing; the substitute command; the global commands; and the use of special characters for advanced editing. .AE