GNU bug report logs - #49680
Errors in Texinfo documentation

Previous Next

Package: sed;

Reported by: Renaud Pacalet <renaud.pacalet <at> telecom-paris.fr>

Date: Wed, 21 Jul 2021 14:17:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Renaud Pacalet <renaud.pacalet <at> telecom-paris.fr>
To: 49680 <at> debbugs.gnu.org
Subject: bug#49680: Errors in Texinfo documentation
Date: Wed, 21 Jul 2021 11:50:27 +0200
Hi,

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
     wisdom,
     it
     was
     the age
     of foolishness,

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

     # 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...".

Thanks,
-- 
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/




This bug report was last modified 3 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.