From: <sea...@ya...> - 2004-04-05 16:40:26
|
> As Michael already pointed out, this can be solved > via a preprocessor: > sed > "s/\$\(Revision\|Author\|Log\|Header\|Date\).*\$/\$\1\$/" I use sed quite a bit to preprocess files before diffing - the trouble is that you lose the difference completely. It would be quite nice to be able to treat it as a whitespace difference so it at least gets highlighted for a quick check. For CVS comments its probably not important, but it might be nice to be able to specify a regexp to treat arbitrary text as whitespace. That's a rather more complex feature to ask for, though ;) > See my previous answer here: > http://sourceforge.net/mailarchive/forum.php?thread_id=4078590&forum_id=38851 Cool, thanks! > For the moment KDiff3 doesn't reject binary files as > other tools do, but > during the diff and display KDiff3 substitutes some > characters with spaces, > which means that it's not fully reliable for binary > files. Plus it would be nice if it could render binary files in hex rather than ascii, or even better in both formats simultaneously, as hex editors often do. I might try extending it this way myself if I can find some time. Thanks to all who responded! Bernie ___________________________________________________________ WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes |