bug-sed
[Top][All Lists]
Advanced

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

bug#28140: Here is a possible bug in documentation for 4.4


From: Assaf Gordon
Subject: bug#28140: Here is a possible bug in documentation for 4.4
Date: Thu, 12 Oct 2017 00:31:14 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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




Attachment: 0001-doc-fix-incorrect-line-wrapping-example.patch
Description: Text Data


reply via email to

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