On Thu, Jul 28, 2005 at 05:19:58PM +0000, Paul Biggar wrote:
> My fault, apologies, I should have made it much clearer. What I was
> looking for was a way to make grep treat newlines as spaces, and so
> treat flowed paragraphs in a pleasant manner. I asked how to match two
> words, split across a new line, but what I really should have asked
> for is how to match N words in a phrase or sentence, where they may be
> split over 1, or possibly more lines.
If the changes mostly consist of differing amounts of whitespace or
reformatted paragraphs, maybe you could run both documents through LaTeX
and dvi2tty, then compare the resulting plain text?
--
John Tobin
"Since she is under fifteen, all of us are required to sign [her
passport application]. This somehow prevents kidnapping. I'm just glad
neither our cat or dog were required to sign. They are a bit active for
a government building." -- Dracoverdi
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!