[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49680: Errors in Texinfo documentation

From: Renaud Pacalet
Subject: bug#49680: Errors in Texinfo documentation
Date: Wed, 21 Jul 2021 11:50:27 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.12.0


The texinfo sed 4.8 documentation contains the following errors, I think.

$ sed --version
sed (GNU sed) 4.8

Next: tac,  Prev: Text search across multiple lines,  Up: Examples

7.8 Line length adjustment

This section uses 'N' and 'D' commands to search for consecutive words
spanning multiple lines, and the 'b' command for branching.  *Note
Multiline techniques:: and *note Branching and flow control::.

   This (somewhat contrived) example deal with formatting and wrapping
lines of text of the following input file:

     $ cat two-cities-mix.txt
     It was the best of times, it was
     the worst of times, it
     was the age of
     the age
     of foolishness,

The following sed program wraps lines at 40 characters:
     $ cat wrap40.sed
     # outer loop

# Appead a newline followed by the next input line to the pattern buffer

1. This example is not about search for consecutive words, it is about line length adjustment.

2. On the last line of this excerpt it should be "# Append a newline...", not "# Appead a newline...".

Renaud Pacalet
Télécom Paris
Campus SophiaTech
450 Route des Chappes, CS 50193
06904 Biot Sophia Antipolis cedex, FRANCE
Tel : +33 (0) 4 9300 8402
Web : http://www.telecom-paris.fr/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]