GNU bug report logs - #28140
Here is a possible bug in documentation for 4.4

Previous Next

Package: sed;

Reported by: bamber ward <dlward134 <at> gmail.com>

Date: Fri, 18 Aug 2017 15:35:01 UTC

Severity: minor

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: bamber ward <dlward134 <at> gmail.com>, 28140 <at> debbugs.gnu.org
Subject: bug#28140: Here is a possible bug in documentation for 4.4
Date: Thu, 12 Oct 2017 00:31:14 -0600
[Message part 1 (text/plain, inline)]
Hello,

> On 18/08/17 09:34 AM, bamber ward wrote:
>> manual 4.4
>> section 7-8
>>  sed -E ':x {N ; s/\n/ /g ; s/(.{40,40})/\1\n/ ; /\n/!bx ; P ;D}'
>> does not work as described.

I'm thinking of the attached patch,
which replaces the overly terse (and incorrect) example
with a longer version with better comments.

Also removed second example to simplify the section.

Comments very welcomed,
 - assaf




[0001-doc-fix-incorrect-line-wrapping-example.patch (text/x-patch, attachment)]

This bug report was last modified 7 years and 299 days ago.

Previous Next


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