<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>My bad. I had added code to the rancid-fe to use wrappers so that it didn't call nxrancid but some other cisco related module probably plain rancid.<br><br><br><hr id="zwchr"><b>From: </b>"Daniel Chen" &lt;danielc@mozy.com&gt;<br><b>To: </b>"Corey Quinn" &lt;corey@sequestered.net&gt;<br><b>Cc: </b>rancid-discuss@shrubbery.net<br><b>Sent: </b>Wednesday, March 16, 2011 3:33:11 PM<br><b>Subject: </b>Re: [rancid] Cisco MDS/NX-OS timestamp in show command<br><br><style>p { margin: 0; }</style><div style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);">I removed the trailing space after the colon before the slash. I am still getting the Time line.<br><br>- !Time: Wed Mar 16 11:53:28 2011<br>+ !Time: Wed Mar 16 12:19:52 2011<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^.Time:/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next; # kill this junk<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^!Time:/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^#Time:/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /!Time:/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br><br>I don't know why this section of code doesn't seem to be hit in the WriteTerm routine within nxrancid.<br><br>Thanks,<br>Daniel<br><br><hr id="zwchr"><b>From: </b>"Corey Quinn" &lt;corey@sequestered.net&gt;<br><b>To: </b>"Daniel Chen" &lt;danielc@mozy.com&gt;<br><b>Cc: </b>rancid-discuss@shrubbery.net, "big beer" &lt;bigbeerjr@gmail.com&gt;<br><b>Sent: </b>Wednesday, March 16, 2011 3:19:45 PM<br><b>Subject: </b>Re: [rancid] Cisco MDS/NX-OS timestamp in show command<br><br><div>Get the trailing space out of there and retest please...<br><br>On Mar 16, 2011, at 12:01 PM, Daniel Chen &lt;<a href="mailto:danielc@mozy.com" target="_blank">danielc@mozy.com</a>&gt; wrote:<br><br></div><div></div><blockquote><div><div style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);">I threw the following patterns and it doesn't appear to be able to catch it in the nxrancid 2.3.6 tar release<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^.Time: /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next; # kill this junk<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^!Time: /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /^#Time: /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /!Time: /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; next;<br><br>So every run generates email and cvs check-in:<br>&nbsp; !Command: show running-config<br>- !Time: Wed Mar 16 11:37:57 2011<br>+ !Time: Wed Mar 16 11:53:28 2011<br><br><br><br><br><hr id="zwchr"><b>From: </b>"Corey Quinn" &lt;<a href="mailto:corey@sequestered.net" target="_blank">corey@sequestered.net</a>&gt;<br><b>To: </b>"big beer" &lt;<a href="mailto:bigbeerjr@gmail.com" target="_blank">bigbeerjr@gmail.com</a>&gt;<br><b>Cc: </b><a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br><b>Sent: </b>Tuesday, March 15, 2011 5:53:30 PM<br><b>Subject: </b>Re: [rancid] Cisco MDS/NX-OS timestamp in show command<br><br>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Toss this into the appropriate place:<br><br>/!Time:/ &amp;&amp; next;<br><br>- -- Corey / KB1JWQ<br>On Mar 15, 2011, at 12:43 PM, big beer wrote:<br><br>&gt; Hi List,<br>&gt; <br>&gt; I'm running rancid 2.3.6 against a pair of cisco mds fiber switches.<br>&gt; everything works as expected except one little problem. My switches<br>&gt; are printing out a nice little banner with the timestamp whenever show<br>&gt; run is ran.<br>&gt; <br>&gt; Obviously this is a problem, and my diffs end up looking like the following.<br>&gt; !<br>&gt; !DEBUG: % Permission denied<br>&gt; !Command: show running-config<br>&gt; - !Time: Tue Mar 15 18:01:13 2011<br>&gt; + !Time: Tue Mar 15 19:01:13 2011<br>&gt; <br>&gt; version 5.0(1a)<br>&gt; no feature http-server<br>&gt; <br>&gt; <br>&gt; I found the thread in the list archives about suppressing the time<br>&gt; stamp out by editing the DoNothing() command to run no exec prompt<br>&gt; timestamp, but I think that is for a different type of timestamp, as I<br>&gt; made the change but I still get the timestamp. I can't even run no<br>&gt; exec prompt timestamp on the switch either.<br>&gt; <br>&gt; Anyone have any experience and/or idea on where I should be focusing<br>&gt; to remove these timestamps?<br>&gt; <br>&gt; Thanks!<br>&gt; <br>&gt; --<br>&gt; BigBeer<br>&gt; _______________________________________________<br>&gt; Rancid-discuss mailing list<br>&gt; Rancid-discuss@shrubbery.net<br>&gt; http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.11 (Darwin)<br><br>iQEcBAEBAgAGBQJNf9/aAAoJEPmSS8816iBeG8AH/1COVliS6zr8yBDgMF+IowNG<br>/vDQonWt9tjnjDlCq1TBe13fSwGJISjbQkhPLiCBwAf/+b3xqLh9nykklMwVkuCC<br>zZYdBvGekcjQYI8vGDo9fAsMhqPD8n5lNrbTlJ42yCbvz6q5chu8XTMxFVLzoRtk<br>E+tI7ZjkyNOkU8VUMHLFeuEFZ7R821XrS/FxDFxrQxCXwnz6eqLMqrZ9TzWsYus2<br>9Oyog9WezIl7vb1tidQXmNGxnAcUJyFnVUwi4DmqcNmJhgNEJFuiHZlCyMrtsPHX<br>Nq2RNd9uDo+Pr9Jr5Naa+dZMcFnV6IaM/dqDWfSNktLekTUQ+ahzzqce1eiz6vk=<br>=XqjC<br>-----END PGP SIGNATURE-----<br>_______________________________________________<br>Rancid-discuss mailing list<br>Rancid-discuss@shrubbery.net<br>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<br><br></div></div></blockquote></div><br>_______________________________________________<br>Rancid-discuss mailing list<br>Rancid-discuss@shrubbery.net<br>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</div></body></html>