Date: Fri, 08 Oct 1999 01:30:05 -0400 From: Alex V P <alex@big-blue.net> To: Johan Petersson <kjep@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Removing unwanted text Message-ID: <37FD815D.D557313E@big-blue.net> References: <19991008052500.13893.rocketmail@web114.yahoomail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Johan Petersson wrote: > Hi everyone, > > I am trying to create a filter that removes (or > filters out) part of a text. The idea would be > something like this: > > lynx -dump URL | (filter goes here) > textfile > > The part of the downloaded text that I want to keep > always begins and ends with the same phrases (though > the starting and ending phrases are not the same), > and I want to keep all the lines in between but not > those before and after. I've tried to work a bit with > grep and diff, but I couldn't get i working. > > Does anyone have any ideas how to do this? > > Best regards > Johan > > ===== > > __________________________________________________ > Do You Yahoo!? > Bid and sell for free at http://auctions.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message use perl ;-) can u send example of the file and what needs to stay? ;-) alex 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?37FD815D.D557313E>