[9938] in Athena Bugs
decmips 7.4G: ed(1)
daemon@ATHENA.MIT.EDU (Calvin Clark)
Tue Sep 29 04:36:34 1992
Date: Tue, 29 Sep 92 04:36:25 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Cc: manbugs@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
System name: podge
Type and version: KN01 7.4G
Display type: PMAX-MFB
What were you trying to do?
# 20 <ckclark@podge> Tue Sep 29 04:28:58 ~
; ed -pfoo
ed: -p arg missing
# 21 <ckclark@podge> Tue Sep 29 04:30:31 ~
; ed -p foo
fooq
What's wrong:
The man page syntax does not reflect the required whitespace
after the -p option:
Syntax
ed [-] [-pstring] [-x] [file]
What should have happened:
The man page should be fixed:
*** /usr/man/man1/ed.1 Wed Mar 6 17:37:27 1991
--- ed.1 Tue Sep 29 04:33:52 1992
***************
*** 6,12 ****
ed, red \- text editor
.SH Syntax
.B ed
! [\fB\-\fR] [\fB\-p\fIstring\fR] [\fB\-x\fR] [\|\fIfile\fR\|]
.PP
.B red
[\fB\-\fR] [\fB\-x\fR] [\|\fIfile\fR\|]
--- 6,12 ----
ed, red \- text editor
.SH Syntax
.B ed
! [\fB\-\fR] [\fB\-p \fIstring\fR] [\fB\-x\fR] [\|\fIfile\fR\|]
.PP
.B red
[\fB\-\fR] [\fB\-x\fR] [\|\fIfile\fR\|]
Please describe any relevant documentation references:
ed(1)