[rancid] Excluding config lines in Rancid

Tim McIntire Tim.McIntire at infinite.com
Fri Sep 17 18:57:53 UTC 2021


I have this problem also,, but don’t know where to make the update.

Thanks…

Tim

From: Rancid-discuss [mailto:rancid-discuss-bounces at www.shrubbery.net] On Behalf Of Andreas Ott
Sent: Friday, September 17, 2021 1:40 PM
To: linuxthreads at gmail.com
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Excluding config lines in Rancid

Hi,


On Fri, Sep 17, 2021 at 12:28 AM Linux Threads <linuxthreads at gmail.com<mailto:linuxthreads at gmail.com>> wrote:
the following does not work for me I am sure the / in AV AI/ML Model is
the culprit

next if (/AV AI/ML Model:/);

Correct, you need to escape quote the center slash in 'AI/ML' with a backslash as it is also used as the delimiter for the regex. Try this

 next if (/AV AI\/ML Model:/);

-andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20210917/aacad1be/attachment.htm>


More information about the Rancid-discuss mailing list