[rancid] Citrix NetScaler / nsrancid "Last modified" lines

Roman Hochuli roman.hochuli at nexellent.ch
Fri Jul 12 14:05:36 UTC 2013


Hello All

> So I decided to filter out that line. Maybe others would be interested
> as well. So here is the diff:

Actually, I found a slightly quicker way:

--snip
--- nsrancid.ORI	2013-07-12 15:14:06.000000000 +0200
+++ nsrancid	2013-07-12 15:55:34.000000000 +0200
@@ -180,6 +180,7 @@
 	next if (/^Can\'t find object or class named \"\-all\"\s*$/);
 	next if (/lock-address .*$/);
 	next if (/^\# *uptime +\d+\s*$/);
+	next if (/^# Last modified/);
 	if (/community label /) {
 	    if ($filter_commstr) {
 		$_ =~ s/community label .*$/community label <removed>/;
--snap

Pull-Request @GitHub is open.

-- 
Best regards,
Roman Hochuli
Operations Manager

nexellent ag
Saegereistrasse 33
CH-8152 Glattbrugg

Phone:       +41 44 872 20 00
Fax:         +41 44 872 20 01
URL:         www.nexellent.ch
X-NCC-RegID: ch.nexellent

Imagination is the one weapon in the war
against reality.
                    -- Jules de Gaultier



More information about the Rancid-discuss mailing list