diff options
author | Renaud Pacalet <renaud.pacalet@telecom-paris.fr> | 2021-08-04 15:02:56 -0600 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2021-08-04 15:02:56 -0600 |
commit | 268c0083de633cda8fa46a2094e257b75a4d28ca (patch) | |
tree | 77c9ad32bbdcedcad93276f08ae73a34cbf4e67b | |
parent | 6568d364f4d21df69027319f55bcc903bfb32e0a (diff) | |
download | sed-268c0083de633cda8fa46a2094e257b75a4d28ca.tar.gz |
doc: fix wording in 'line length adj.' example
Reported in https://bugs.gnu.org/49680 .
* doc/sed.texi: Fix wording, typo.
-rw-r--r-- | doc/sed.texi | 7 |
1 files 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 |