GNU bug report logs -
#49680
Errors in Texinfo documentation
Previous Next
To reply to this bug, email your comments to 49680 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-sed <at> gnu.org
:
bug#49680
; Package
sed
.
(Wed, 21 Jul 2021 14:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Renaud Pacalet <renaud.pacalet <at> telecom-paris.fr>
:
New bug report received and forwarded. Copy sent to
bug-sed <at> gnu.org
.
(Wed, 21 Jul 2021 14:17:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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/
Information forwarded
to
bug-sed <at> gnu.org
:
bug#49680
; Package
sed
.
(Wed, 04 Aug 2021 21:08:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 49680 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2021-07-21 3:50 a.m., Renaud Pacalet wrote:
> The texinfo sed 4.8 documentation contains the following errors, I think.
[...]
> 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 for the report.
I plan to push the attached fix in your name soon.
regards,
- assaf
[0001-doc-fix-wording-in-line-length-adj.-example.patch (text/x-patch, attachment)]
Information forwarded
to
bug-sed <at> gnu.org
:
bug#49680
; Package
sed
.
(Wed, 04 Aug 2021 21:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 49680 <at> debbugs.gnu.org (full text, mbox):
On Wed, Aug 4, 2021 at 2:09 PM Assaf Gordon <assafgordon <at> gmail.com> wrote:
>
> On 2021-07-21 3:50 a.m., Renaud Pacalet wrote:
> > The texinfo sed 4.8 documentation contains the following errors, I think.
> [...]
> > 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 for the report.
>
> I plan to push the attached fix in your name soon.
Thank you both. That patch looks fine.
This bug report was last modified 3 years and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.