.\" $Copyright:	$
.\" Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
.\" Sequent Computer Systems, Inc.   All rights reserved.
.\"  
.\" This software is furnished under a license and may be used
.\" only in accordance with the terms of that license and with the
.\" inclusion of the above copyright notice.   This software may not
.\" be provided or otherwise made available to, or used by, any
.\" other person.  No title to or ownership of the software is
.\" hereby transferred.
...
. \" $Header: e0 1.3 86/03/06 $
.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\(dd
.FS
\(dd\
Some of the information contained in this document
does not apply directly to
the DYNIX\v'-.4'\s4TM\s0\v'+.4' Operating System
or the Balance\v'-.4'\s4TM\s0\v'+.4' Architecture.
Specifically, text is now entered predominantly
with ex or vi (described elsewhere).
This document has been included as originally published
for historical reference purposes.
.FE
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
