[rancid] Revision Searches
heasley
heas at shrubbery.net
Thu Oct 19 18:38:50 UTC 2017
Thu, Oct 19, 2017 at 05:48:10PM +0000, Gauthier, Chris:
> Write a script that pulls version X and saves it as a unique filename (vX.txt). Do the same for version Y (vY.txt). Then, do a diff of versions X and Y with the output going to diffXY.txt. Grep that output for the code relevant to a zone change or other configuration change you are looking for. Lastly, the script could send an email, with the file diffXY.txt attached, to a designated email address. You could even script this to run just after rancid finishes a poll, but that would take more scripting.
also see cvs {r}annotate and options to cvs log
More information about the Rancid-discuss
mailing list