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.

<DT><H3 ADD_DATE="1278709936" LAST_MODIFIED="1283531292" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> + <DT><H3 ADD_DATE="1278709936" LAST_MODIFIED="1283531292" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> +<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar <DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar

Ahem, the diff may be confusing, but the fact is that both lines include the "Bookmarks Toolbar" text.

Issue: this classic one-liner sed script for deleting a line containing
a pattern ends up deleting the line with the pattern as well as the
next line.

Same here.

Please close as invalid.

Paolo



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to