Path: utzoo!attcan!uunet!mcsun!inria!mirsa!muller From: muller@mirsa.UUCP (Christophe Muller) Newsgroups: comp.unix.questions Subject: a Sed question Message-ID: <520@mirsa.UUCP> Date: 1 Feb 90 20:34:09 GMT Organization: INRIA, Sophia Antipolis. France Lines: 13 That might be a stupid question, but does somebody know how to do that job with "sed" ? I wanted to find all the lines matching a pattern, delete these lines _and_ the line immediately following. After half an hour of tests, man, Unix books, i gave up and used a small awk script that worked well the first time ! I just thought that sed might be faster, but is it possible ? (Note: we still don't have perl...) Cheers, Christophe. -- Important: e-mail address is: muller@phoenix.src.umd.edu --