<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Yes, it's fairly easy to filter out individual lines by editing
      the filter inside the perl scripts to make them go away. I have
      done this many, many times. The only trick is that when you
      upgrade you might lose your change, so save a copy or diff that
      you can re-apply later.</p>
    <p>In this case, the place where you'd put the filter is in
      ~rancid/bin/hrancid in the routine "ShowTechTransceivers"</p>
    <p>Right at the top where it has 'next if (...)'</p>
    <p>either above or below that you can add a line that says something
      like next if (/thing I want to match here/) which will skip that
      line.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2/19/2018 9:12 AM, Aleksander Vines
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:2925748137-2654@mail.nersc.no">Hi
      all,
      <div><br>
      </div>
      <div>Is there a way of altering the output of rancid, or which
        commands it runs, or how the 'diff'ing' works?</div>
      <div><br>
      </div>
      <div>We seem to have a problem with the latest hp software, where
        'show tech transceivers' seems to include a call to 'show time'.
        Hence it notices a diff in the output timestamp and and it's
        fairly annoying if you actually want to keep track of changes. </div>
      <div><br>
      </div>
      <div>Ref. <a class="moz-txt-link-freetext" href="https://community.hpe.com/t5/ProCurve-ProVision-Based/Command-behavior-change-in-KB-16-05-0003-5406R-firmware/td-p/6992013">https://community.hpe.com/t5/ProCurve-ProVision-Based/Command-behavior-change-in-KB-16-05-0003-5406R-firmware/td-p/6992013</a></div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Aleksander Vines</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <table>
        <tbody>
          <tr>
            <td style="padding-left: 20px" width="90%">Doug Hughes<br>
              Keystone NAP<br>
              Fairless Hills, PA<br>
              1.844.KEYBLOCK (539.2562)</td>
            <td style="align: right;padding-right: 20px"><img
                src="cid:part1.7FF81848.002D0C96@keystonenap.com">
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>