<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div>Thanks,<br /><br />That helps, but does not completely help me understand what values are "valid" in the 3rd arg.  I couldn't quite figure it out from the code.  I tried.  I looked at the man page, different sections of the source, but it's just not making sense.<br /><br />And, sorry all for always adding the corporate signature.  Have no control over it, including no ability to change it or turn it off.  The worst part is it always turns my email from plain-text to HTML. :(<br /><br />Chris<br /><br /><br /><div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="padding:10px 0;vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:14.67px;color:#F77A0B;font-style:normal;font-weight:400;white-space:nowrap;"><tr><td align="left" style="vertical-align:top;font-family:Calibri;font-weight:700;">Chris<span style="font-family:remialcxesans;">​</span> </td><td align="left" style="vertical-align:top;font-family:Calibri;font-weight:700;">Gauthier</td><td align="left" style="vertical-align:top;color:#444444;font-family:Calibri;"> Senior Network Engineer</td><td align="left" style="vertical-align:top;font-family:Calibri;"> | </td><td align="left" style="vertical-align:top;color:#444444;font-family:Calibri;">comScore, Inc.</td></tr></table></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="padding:3px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:14.67px;color:#444444;font-style:normal;font-weight:400;white-space:nowrap;"><tr><td align="left" style="vertical-align:top;font-family:Calibri;">t +1 <a href="tel:(503)%20331-2704" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#444444;"><strong style="font-weight:400;">(503) 331-2704</strong></a></td><td align="left" style="vertical-align:top;color:#F77A0B;font-family:Calibri;"> | <br /></td><td align="left" style="vertical-align:top;font-family:Calibri;"><a href="mailto:cgauthier@comscore.com" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#444444;"><strong style="font-weight:400;">cgauthier@comscore.com</strong></a></td></tr></table></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="padding:2px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:14.67px;color:#444444;font-style:normal;font-weight:400;white-space:nowrap;"><tr><td align="left" style="vertical-align:top;font-family:Calibri;">317 SW Alder Street, Suite 700</td><td align="left" style="vertical-align:top;color:#F77A0B;font-family:Calibri;"> | </td><td align="left" style="vertical-align:top;font-family:Calibri;">Portland, OR 97204 </td><td align="left" style="vertical-align:top;font-family:Calibri;"> United States</td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="padding:2px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:14.67px;color:#444444;font-style:normal;font-weight:400;white-space:nowrap;"><tr><td align="left" style="vertical-align:top;font-family:Calibri;"><a href="http://www.comscore.com/" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#0563C1;"><strong style="font-weight:400;">comscore.com</strong></a></td></tr></table></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="padding:10px 0 2px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#444444;font-size:10.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:justify;width:500px;"><tr><td style="font-family:Calibri;">​​​This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system and notify sender.</td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></div>-----Original Message-----<br />From: heasley <heas@shrubbery.net><br />Date: Thursday, April 5, 2018 at 12:53 PM<br />To: "Gauthier, Chris" <cgauthier@comscore.com><br />Cc: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net><br />Subject: Re: [rancid] Questions about sub ProcessHistory<br /><br />Thu, Apr 05, 2018 at 05:55:57PM +0000, Gauthier, Chris:<br />> I’m trying to get my Aruba Instant access points to be backed up by rancid and I’m using the module developed by miken32, but it really doesn’t support a lot of the Aruba stuff that I have.  I’m trying to add a few extra functions into the perl module, but have run into some difficulty with `sub ProcessHistory` in rancid.pm.  I’ve read the description, but am not understanding the third argument.<br />> <br />> For example:<br />> ProcessHistory("COMMENTS","keysort","D99","!$_");   (from the aruba.pm file)<br />> <br />> Or<br />> <br />> ProcessHistory("COMMENTS","keysort","F1", "!Image: $_")  (from the ios.pm file)<br />> <br />> What is the function of the “D99” and “F1” arguments and how do I leverage them for my own function?  And, what is the string in the last argument used for?<br /><br />3rd arg is the argument to the 2nd arg, for keysort, its the key.  4th<br />arg is data/payload to be stored and later output.<br /><br /></div></body></html>