>From 3d5e4ba0a898e453345071cc237062db98c5905d Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason Date: Mon, 8 Oct 2018 19:05:44 -0600 Subject: [PATCH] doc: sed.x: some formatting corrections Reported in https://bugs.gnu.org/30479 . doc/sed.x: Change a HYPHEN-MINUS (code 0x55, 2D) to a dash (\-, minus) if it matches " -[:alpha:]" or \(aq-[:alpha:] (for options); Use a pronoun instead of a repeated noun. Copyright-paperwork-exempt: Yes --- doc/sed.x | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/sed.x b/doc/sed.x index b2e0beb..1059382 100644 --- a/doc/sed.x +++ b/doc/sed.x @@ -42,7 +42,7 @@ commands. .TP .RI # comment The comment extends until the next newline (or the end of a -.B -e +.B \-e script fragment). .TP } @@ -235,7 +235,7 @@ The following address types are supported: Match only the specified line .IR number (which increments cumulatively across files, unless the -.B -s +.B \-s option is specified on the command line). .TP .IR first ~ step @@ -243,7 +243,7 @@ Match every .IR step 'th line starting with line .IR first . -For example, ``sed -n 1~2p'' will print all the odd-numbered lines in +For example, ``sed \-n 1~2p'' will print all the odd-numbered lines in the input stream, and the address 2~5 will match every fifth line, starting with the second. .I first @@ -315,7 +315,7 @@ and similarly for .BR \et , and other sequences. The \fI-E\fP option switches to using extended regular expressions instead; -the -E option has been supported for years by GNU sed, and is now +it has been supported for years by GNU sed, and is now included in POSIX. [SEE ALSO] @@ -334,5 +334,5 @@ http://sed.sf.net/grabbag/. .PP E-mail bug reports to .BR address@hidden . -Also, please include the output of ``sed --version'' in the body +Also, please include the output of ``sed \-\-version'' in the body of your report if at all possible. -- 2.11.0