lechucky has asked for the wisdom of the Perl Monks concerning the following question:
The only piece of information I need extracted from the file is the domain name, but as the domain does not end in a prefix in the file ( not EXAMPLE1.COM, just EXAMPLE1 ), im finding it harder to extract just the domains, and skip the blank lines with only nameserver information in them. Any help that anyone can give me on this issue would be greatly appreciated. Thank you for your time, and Merry Xmas and a Happy New Year to all.EXAMPLE1 NS ns0.test.com NS ns1.test.com EXAMPLE2 NS ns0.test.com NS ns1.test.com EXAMPLE3 NS ns0.test.com NS ns1.test.com EXAMPLE4 NS ns0.test.com NS ns1.test.com
Adam.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Zonefile parsing
by tachyon (Chancellor) on Dec 21, 2001 at 19:41 UTC | |
|
Re: Zonefile parsing
by zenmaster (Beadle) on Dec 21, 2001 at 20:00 UTC |