Bug#595662: sed: incorrectly concatanates next line to pattern space

2010-09-05 Thread Paolo Bonzini
On 09/05/2010 05:28 PM, Alan W. Irwin wrote: Issue: the p command prints out a pattern consisting of the matched line as well as the next one. PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar +PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar +Add bookmarks to this folder to see them di

Bug#595662: sed: incorrectly concatanates next line to pattern space

2010-09-05 Thread Alan W. Irwin
Package: sed Version: 4.2.1-7 Severity: important I illustrate the bug by two examples. In each case I have a file called bookmarks.html with a particular line in it containing the string 'Bookmarks Toolbar'. I pipeline the result to diff to find out the exact effect of the given sed one-line sc