comparison ed.1 @ 2:a09d0630f05b

removed unnecessary command line options
author markus schnalke <meillo@marmaro.de>
date Tue, 12 Aug 2014 18:08:24 +0200
parents 1493bea5ac22
children ac52712b2b5e
comparison
equal deleted inserted replaced
1:db609ba8ab93 2:a09d0630f05b
36 .if t .ds q \(aa 36 .if t .ds q \(aa
37 .if n .ds q ' 37 .if n .ds q '
38 .SH NAME 38 .SH NAME
39 ed \- text editor 39 ed \- text editor
40 .SH SYNOPSIS 40 .SH SYNOPSIS
41 \fBed\fR [\fB\-\fR\ |\ \fB\-s\fR] [\fB\-p\fI\ prompt\fR] [\fIname\fR] 41 \fBed\fR [\fB\-\fR\] [\fIname\fR]
42 .SH DESCRIPTION 42 .SH DESCRIPTION
43 .I Ed 43 .I Ed
44 is the standard text editor. 44 is the standard text editor.
45 .PP 45 .PP
46 If a 46 If a
53 the file is read into 53 the file is read into
54 .IR ed 's 54 .IR ed 's
55 buffer so that it can be edited. 55 buffer so that it can be edited.
56 The optional 56 The optional
57 .B \- 57 .B \-
58 or
59 .B \-s
60 suppresses the printing 58 suppresses the printing
61 of character counts by 59 of character counts by
62 .IR e , 60 .IR e ,
63 .IR r , 61 .IR r ,
64 and 62 and
65 .I w 63 .I w
66 commands, 64 commands,
67 and of the `!' after completion of a shell command. 65 and of the `!' after completion of a shell command.
68 .PP
69 With the
70 .B \-p
71 option,
72 the given
73 .I prompt
74 string is printed before each command is read.
75 .PP 66 .PP
76 .I Ed 67 .I Ed
77 operates on a copy of any file it is editing; changes made 68 operates on a copy of any file it is editing; changes made
78 in the copy have no effect on the file until a 69 in the copy have no effect on the file until a
79 .IR w "" 70 .IR w ""
562 be placed on the same line after any non-i/o command. 553 be placed on the same line after any non-i/o command.
563 .TP 554 .TP
564 .B P 555 .B P
565 This command causes a prompt to be printed 556 This command causes a prompt to be printed
566 before following commands are read. 557 before following commands are read.
567 The default prompt is a `*' character, 558 The default prompt is a `*' character.
568 but can be set with the
569 .I \-p
570 command line option (which also enables the prompt).
571 Another 559 Another
572 .I P 560 .I P
573 disables the prompt. 561 disables the prompt.
574 .TP 5 562 .TP 5
575 .B q 563 .B q