Wayne,
Look for something simple because that should work. If you’re stuck forward the TAF or a reproduction of the problem to me at support. Robert From: Wayne Irvine [mailto:[email protected]] Sent: Wednesday, February 21, 2018 3:42 PM To: [email protected] Subject: TeraScript-Talk: Distinct IPs I am building a tool to allow me to add addresses to Postfix list of banned IPs. I’ve got it parsing the files and extracting the IPs and sorting them in order, but I can’t get @DISTINCT to work. <@ASSIGN NAME=DistinctBadIPs VALUE=<@DISTINCT ARRAY=BadIPs COLS="1 DICT" SCOPE=local>> <snip> 173.240.14.31 Your IP is SPAM! 173.240.14.61 Your IP is SPAM! 185.153.229.0/24 Your IP is SPAM! 185.162.146.0/24 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.244.77 Your IP is SPAM! 185.179.246.28 Your IP is SPAM! 185.65.246.142 Your IP is SPAM! 185.70.187.118 Your IP is SPAM! <snip> I’ve tried default (SMART), NUM, and DICT comparison types. Is it due to the ‘.’s or something dumb I’m doing? Wayne Byteserve Pty Ltd w: http://www.byteserve.com.au/ e: [email protected] <mailto:[email protected]> p: +61 02 9960 6099 m: 0409 960 609 f: +61 02 9960 6088 _____ To unsubscribe from this list, please send an email to [email protected] <mailto:[email protected]> with "unsubscribe terascript-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
