Deleted Added
full compact
ed.1 (68389) ed.1 (68935)
1.\" $FreeBSD: head/bin/ed/ed.1 68389 2000-11-06 11:18:13Z ru $
1.\" $FreeBSD: head/bin/ed/ed.1 68935 2000-11-20 11:39:41Z ru $
2.Dd May 21, 1993
3.Dt ED 1
4.Os
5.Sh NAME
6.\" ed, red \- text editor
7.Nm ed ,
8.Nm red
9.Nd text editor
10.Sh SYNOPSIS
2.Dd May 21, 1993
3.Dt ED 1
4.Os
5.Sh NAME
6.\" ed, red \- text editor
7.Nm ed ,
8.Nm red
9.Nd text editor
10.Sh SYNOPSIS
11.Nm ed
11.Nm
12.Op Fl
13.Op Fl sx
14.Op Fl p Ar string
15.Op Ar file
16.\" .LP
17.\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR]
18.Sh DESCRIPTION
19.Nm Ed

--- 10 unchanged lines hidden (view full) ---

30.Ar file
31argument, then a copy of
32.Ar file
33is read into the editor's buffer.
34Changes are made to this copy and not directly to
35.Ar file
36itself.
37Upon quitting
12.Op Fl
13.Op Fl sx
14.Op Fl p Ar string
15.Op Ar file
16.\" .LP
17.\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR]
18.Sh DESCRIPTION
19.Nm Ed

--- 10 unchanged lines hidden (view full) ---

30.Ar file
31argument, then a copy of
32.Ar file
33is read into the editor's buffer.
34Changes are made to this copy and not directly to
35.Ar file
36itself.
37Upon quitting
38.Nm Ns ,
38.Nm ,
39any changes not explicitly saved with a
40.Em w
41command are lost.
42
43Editing is done in two distinct modes:
44.Em command
45and
46.Em input .

--- 553 unchanged lines hidden (view full) ---

600printed.
601.It P
602Toggle the command prompt on and off.
603Unless a prompt was specified by with command-line option
604.Fl p Ar string ,
605the command prompt is by default turned off.
606.It q
607Quit
39any changes not explicitly saved with a
40.Em w
41command are lost.
42
43Editing is done in two distinct modes:
44.Em command
45and
46.Em input .

--- 553 unchanged lines hidden (view full) ---

600printed.
601.It P
602Toggle the command prompt on and off.
603Unless a prompt was specified by with command-line option
604.Fl p Ar string ,
605the command prompt is by default turned off.
606.It q
607Quit
608.Nm Ns .
608.Nm .
609.It Q
610Quit
611.Nm
612unconditionally.
613This is similar to the
614.Em q
615command,
616except that unwritten changes are discarded without warning.

--- 292 unchanged lines hidden ---
609.It Q
610Quit
611.Nm
612unconditionally.
613This is similar to the
614.Em q
615command,
616except that unwritten changes are discarded without warning.

--- 292 unchanged lines hidden ---