[rancid] modifying diff conditions

heasley heas at shrubbery.net
Fri Nov 8 17:20:52 UTC 2013


Fri, Nov 08, 2013 at 12:08:37PM -0500, Wayne Eisenberg:
> Well, I've done some experimenting and I think I've seen that the regex expression doesn't always work. I found that
> --ignore-matching-lines='av\|wildfire\|threat'
> *can* work, but if I don't include all of the things to ignore, it won't ignore any of them. For example, with the text below,
> 'av\|wildfire\|url-filtering\|app\|threat' will successfully ignore all of those lines. But if I omit one of the elements (say 'threat'), it won't ignore any of the lines even though I would expect it to only return the 'threat' lines as different. Does anyone have any ideas or explanation of this behavior?

bad RE format, i suspect.  '(term1|term2|term3)'

i do not know if any of those chars needs to be escaped, since its in single
quotes.  but, depends on how cvs execs diff.


More information about the Rancid-discuss mailing list