Date: 15 Feb 2001 07:28:49 -0600 From: Tim Ayers <tayers@bridge.com> To: questions@FreeBSD.ORG Subject: Re: Slightly OT: Help with SED Message-ID: <wk4rxw2hym.fsf@tim.bridge.com> In-Reply-To: "Aaron Hill"'s message of "Thu, 15 Feb 2001 08:40:34" References: <F1268NjUy6W8uCamWJ10000519e@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "A" == Aaron Hill <hillaa@hotmail.com> writes: A> Can someone help me with a sed question please? I'm sure what I'm A> doing has a really easy answer but I can't find it yet. Basically A> what I'm trying to do is replace two lines with one line but I A> don't know how to get sed to detect the newline (\n) character. See a sed FAQ near you. Section 5.10. "Why can't I match or delete a newline using the \n escape sequence? Why can't I match 2 or more lines using \n?" It took me and google.com two minutes to find that answer. HTH and Hope you have a very nice day, :-) TIm Ayers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wk4rxw2hym.fsf>