<div dir="ltr"><div class="gmail_extra">Is there any specific point in francid that you put this code? I have the same issue here with the <span style="color:rgb(0,0,0);white-space:pre-wrap">STACKID and I tried to put it in the line 514 and it's not working.</span></div>
<div class="gmail_extra"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_extra"><font color="#000000"><span style="white-space:pre-wrap">Thanks<br></span></font><br><div class="gmail_quote">
On Tue, Jan 8, 2013 at 11:29 AM, Jethro R Binks <span dir="ltr"><<a href="mailto:jethro.binks@strath.ac.uk" target="_blank">jethro.binks@strath.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":v3"> while (<INPUT>) {<br>
tr/\015//d;<br>
next if /^\s*$/;<br>
last if (/^$prompt/);<br>
<br>
next if (/^(The system |Crash time)/);<br>
next if (/^(System|(Active|Standby) Management|LP Slot \d+) uptime is/);<br>
<br>
# This line appears somewhere between Netiron 5.1 and 5.3<br>
next if (/^(Switch Fabric Module \d+ Up Time)/);<br>
<br>
# remove uptime on newer switches<br>
# but retain the stackid itself<br>
s/(STACKID \d+)\s+system uptime is.*$/$1/;<br>
<br>
# See comments at start for more about this flag:<br>
if ( $skip_corrupt_serial ) {<br>
next if (/^\s+Serial #/);<br>
}<br>
<br>
s/^\s*(HW|SW)/$1/;<br>
s/^\s*(Compiled on)/SW: $1/;<br>
s/^\s*(\(\d+ bytes\) from )/SW: $1/;<br>
<br>
#s/^(HW.*)/$1\n/;<br>
if (/^SL (\d+)/) {<br>
$slot = "Slot $1";<br>
s/^SL \d+/$slot/;<br>
}<br>
if (/MHz .* processor/) {<br>
$slot = "MGMT";<br>
}<br>
s/^(\s*\d+ )/$slot:$1/;<br>
s/^===*//;<br>
<br>
ProcessHistory("VERSION","","","!$_");<br>
}</div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Atenciosamente / Best Regards,</div><span><br></span><span>Danilo Marques de Gouveia</span><br><span>IT - Network Administrator</span><font><br>
55 19 3847 8424</font><div><font>55 19 9160 6441</font></div>
</div></div>