--- ed-0.6/doc/ed.1.orig 2006-10-05 21:35:42.000000000 +0200 +++ ed-0.6/doc/ed.1 2007-07-11 18:36:57.789372484 +0200 @@ -195,14 +195,14 @@ The last line in the buffer. .TP 8 -n +.I n The .IR n th, line in the buffer where .I n is a number in the range -.I [0,$]. +.IR [0,$] . .TP 8 - @@ -212,7 +212,7 @@ and may be repeated with cumulative effect. .TP 8 --\fIn\fR +.RI - n The .IR n th previous line, where @@ -228,9 +228,9 @@ and may be repeated with cumulative effect. .HP -whitespace \fIn\fR +.I whitespace n .TP 8 -+\fIn\fR +.RI + n The .IR n th next line, where @@ -246,16 +246,16 @@ , The first through last lines in the buffer. This is equivalent to the address range -.I 1,$. +.IR 1,$ . .TP 8 ; The current through last lines in the buffer. This is equivalent to the address range -.I .,$. +.IR .,$ . .TP 8 -.RI / re/ +.RI / re / The next line containing the regular expression .IR re . @@ -264,7 +264,7 @@ // repeats the last search. .TP 8 -.RI ? re? +.RI ? re ? The previous line containing the regular expression .IR re . @@ -273,7 +273,7 @@ ?? repeats the last search. .TP 8 -.RI \' lc +.RI ' lc The line previously marked by a .I `k' @@ -324,7 +324,7 @@ matches itself. .TP 8 -\fR.\fR +\&. Matches any single character. .TP 8 @@ -475,7 +475,7 @@ \fR\e+\fR Matches the single character regular expression or subexpression immediately preceding it one or more times. So the regular expression -`a+' is shorthand for `aa*'. If \e+ occurs at the beginning of a +`a\e+' is shorthand for `aa*'. If \e+ occurs at the beginning of a regular expression or subexpression, then it matches a literal `+'. @@ -557,7 +557,7 @@ The current address is set to the last line read. .TP 8 -.RI e \ !command +e !\fIcommand\fR Edits the standard output of .IR `!command' , (see @@ -739,7 +739,7 @@ The current address is set to the last line read. .TP 8 -.RI ($)r \ !command +($)r !\fIcommand\fR Reads to after the addressed line the standard output of @@ -836,7 +836,7 @@ suffix toggles the global suffix of the last substitution. The .I `p' -suffix toggles the print suffix of the last substitution +suffix toggles the print suffix of the last substitution. The current address is set to the last line affected. .TP 8 @@ -902,7 +902,7 @@ command. .TP 8 -.RI (1,$)w \ !command +(1,$)w !\fIcommand\fR Writes the addressed lines to the standard input of .IR `!command' , (see the