I went through the archives, and implemented one of the solutions for ignoring diffs (such as call-forward, etc.). <br><br>I implemented it as follows in control_rancid:<br><-- snippit --><br>if [ $RCSSYS = "cvs" ] ; then<br>
DIFFSUPPRESS="-I '.*call-forward.*' -I '.*Flash.*nvram.*'"<br><br> cvs -f diff -u -4 -ko $DIFFSUPPRESS \<br> | sed -e '/^RCS file: /d' -e '/^--- /d' \<br> -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff<br>
else<br> svn diff | sed -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff<br><-- snippit --><br clear="all"><br><br>Unfortunately this doesn't seem to have worked. I checked my RANCID e-mail this morning and it shows the following:<br>
<br>Index: configs/<hostname><br>===================================================================<br>retrieving revision 1.4<br>diff -u -4 -I ''\''.*call-forward.*'\''' -I ''\''.*Flash.*nvram.*'\''' -r1.4 <hostname> @@ -26,16 +26,16 @@<br>
!Flash: nvram: Directory of nvram:/<br>- !Flash: nvram: 230 -rw- 7166 <no date> startup-config<br>+ !Flash: nvram: 230 -rw- 7127 <no date> startup-config<br>
!Flash: nvram: 231 ---- 3867 <no date> private-config<br>- !Flash: nvram: 232 -rw- 7166 <no date> underlying-config<br>+ !Flash: nvram: 232 -rw- 7127 <no date> underlying-config<br>
<br>It looks like it should have ignored any lines with "Flash: nvram", yet they are still showing up.<br><br>Can anyone please provide a second set of eyes and help me figure out what I've done wrong?<br><br>
Thanks,<br><br><br>--<br>Eric Cables<br>