>From 268c0083de633cda8fa46a2094e257b75a4d28ca Mon Sep 17 00:00:00 2001 From: Renaud Pacalet Date: Wed, 4 Aug 2021 15:02:56 -0600 Subject: [PATCH] doc: fix wording in 'line length adj.' example Reported in https://bugs.gnu.org/49680 . * doc/sed.texi: Fix wording, typo. --- doc/sed.texi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/sed.texi b/doc/sed.texi index e9873fb..16d0a9c 100644 --- a/doc/sed.texi +++ b/doc/sed.texi @@ -4718,9 +4718,8 @@ See the GNU @command{coreutils} manual for an alternative solution using @node Line length adjustment @section Line length adjustment -This section uses @code{N} and @code{D} commands to search for -consecutive words spanning multiple lines, and the @code{b} command for -branching. +This section uses @code{N} and @code{P} commands to read and write +lines, and the @code{b} command for branching. @xref{Multiline techniques} and @ref{Branching and flow control}. This (somewhat contrived) example deal with formatting and wrapping @@ -4749,7 +4748,7 @@ $ cat wrap40.sed # outer loop :x -# Appead a newline followed by the next input line to the pattern buffer +# Append a newline followed by the next input line to the pattern buffer N # Remove all newlines from the pattern buffer -- 2.20.1