Date: Thu, 7 Oct 1999 22:25:00 -0700 (PDT) From: Johan Petersson <kjep@yahoo.com> To: freebsd-questions@freebsd.org Subject: Removing unwanted text Message-ID: <19991008052500.13893.rocketmail@web114.yahoomail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991008052500.13893.rocketmail>