I don't have a lot of DNS experience, but any time you're trying to remove duplicates, a little voice should whisper "hash" in your ear. If you can parse the file so that each unique entry becomes the key of a hash, the hash will remove the duplicates for you.
Brad
In reply to Re: Parsing Zonefiles
by bgreenlee
in thread Parsing Zonefiles
by Elijah_A
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |