[rancid] Re: JRancid show config | display set

Árni Birgisson abirgisson at fattoc.com
Fri Oct 30 09:35:47 UTC 2009


You sir, are awesome :-)

This works like a charm.

For anyone else thinking about doing the same my changes include:
* The changes from jeremy
* adding a new parser called ShowConfigurationDisplaySet (copied from  
some other simple parser)
* adding a command to the commandtable "show configuration | display  
set | no-more" => 'ShowConfigurationDisplaySet'.

Thank you for your help!

-Arni

On Oct 30, 2009, at 2:13 AM, Jeremy Singletary wrote:

> Change
> $cmds_regexp=join("|", at commands);
>
> to
> $cmds_regexp = join("|", map quotemeta($_), @commands);
>
> -jeremy
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



Arni Birgisson	
Network Engineer
FATTOC Iceland
Adalstraeti 6
101 Reykjavik
Iceland



More information about the Rancid-discuss mailing list