That will just remove it from the Diff portion it will not remove it from printing it. If you find the sub routine that processes the dir command you will see there is a line that will say Flash:.<div><br></div><div>-Lance<br>
<br><div class="gmail_quote">On Wed, Aug 12, 2009 at 2:00 AM, Smirnoff Alexander <span dir="ltr"><<a href="mailto:asmirnoff@office.beeline.ru">asmirnoff@office.beeline.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="RU" link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy">Ok, I am just add | grep
-v "Flash:" before >$TMP.diff in control_rancid and waiting for
results ;)</span></font></p>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a> [mailto:<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Lance Vermilion<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, August 12, 2009
12:34 AM</span></font></p><font size="2" face="Tahoma"><div><div></div><div class="h5"><br>
<b><span style="font-weight:bold">To:</span></b> Smirnoff Alexander<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [rancid] cisco syslog
diff</div></div></font><span lang="EN-US"></span><p></p>
</div><div><div></div><div class="h5">
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">You will need to look for
the sub routine that has Flash in it. Do a search for that in the appropriate
rancid file.</span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">-Lance</span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Mon, Aug 10, 2009 at 11:36 PM, Smirnoff Alexander <<a href="mailto:asmirnoff@office.beeline.ru" target="_blank">asmirnoff@office.beeline.ru</a>>
wrote:</span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy">dir | e syslog – it is very simple way, but I
need more ;)</span></font></p>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy">how I can just disable all lines like ‘</span></font><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">!Flash:</span></font><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy"> ‘ from mail diff output , but this lines can be stored in CVS
config changes?</span></font></p>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>
[mailto:<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Lance Vermilion<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, August 21, 2008
10:13 PM</span></font></p>
<div>
<div>
<p><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><br>
<b><span style="font-weight:bold">To:</span></b> Smirnoff Alexander<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [rancid] cisco syslog
diff</span></font></p>
</div>
</div>
</div>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">the other option is to write some custom pieces to not
include or modify the command for dir to exclude things you don't want to
include.<br>
<br>
dir | e syslog<br>
<br>
something like that. You may have to escape the |, you will need to mess with
it a little.</span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Wed,
Aug 20, 2008 at 11:19 PM, Smirnoff Alexander <<a href="mailto:asmirnoff@gldn.net" target="_blank">asmirnoff@gldn.net</a>>
wrote:</span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy">If I remove this command (dir) I lost other
important changer , like ios change. I mean about more intellectual rancid
acknowledges behavior , then minor changes like syslog grow not cause email's.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>
[mailto:<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Lance Vermilion<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, August 20, 2008
12:11 AM<br>
<b><span style="font-weight:bold">To:</span></b> Smirnoff Alexander<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [rancid] cisco syslog
diff</span></font></p>
</div>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">remove that command from what is checked in the rancid
file under <rancid home>/bin/</span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">2008/8/19
Smirnoff Alexander <<a href="mailto:asmirnoff@gldn.net" target="_blank">asmirnoff@gldn.net</a>></span></font></p>
<div link="blue" vlink="purple">
<div>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Hello!</span></font></p>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">How I can disable alerts on changing like this:</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> </span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> </span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">Index: configs/<a href="http://172.17.200.64" target="_blank">172.17.200.64</a></span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">===================================================================</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">retrieving revision 1.12</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">diff -U 4 -r1.12 <a href="http://172.17.200.64" target="_blank">172.17.200.64</a></span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">@@ -41,10 +41,10 @@</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: 7
drwx 4032 Feb 02 2005 05:17:01
+03:00 html</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: 21 -rwx
109 Feb 02 2005 05:09:06 +03:00 info</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: 22
-rwx 109 Feb 02 2005
05:18:09 +03:00 info.ver</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: 362
-rwx 6269 Aug 18 2008 10:50:57
+04:00 config.text</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">- !Flash: 363
-rwx 662228 Aug 19 2008 10:04:07
+04:00 syslog</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">- !Flash: 7741440 bytes total (2416640 bytes
free)</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">+ !Flash: 363
-rwx 662626 Aug 19 2008 11:48:59
+04:00 syslog</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR"">+ !Flash: 7741440 bytes total (2416128 bytes
free)</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: nvram: Directory of nvram:/</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: nvram: 26
-rw-
6269
<no date> startup-config</span></font></p>
<p><font size="2" face="Courier New CYR"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR""> !Flash: nvram: 27
----
26
<no date> private-config</span></font></p>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">When only syslog file size change?</span></font></p>
<p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p style="margin-bottom:12.0pt"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">-- <br>
Regards,<br>
Alexandr Smirnov</span></font></p>
<p><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt"> </span></font></p>
</div>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>