[prev in list] [next in list] [prev in thread] [next in thread]
List: djbdns
Subject: Re: available TLDs?
From: Jonathan de Boyne Pollard <J.deBoynePollard () tesco ! net>
Date: 2001-09-28 19:14:05
[Download RAW message or body]
JdeBP> awk -F: '/^[Z.]/ { print $1 ; }' < root.clean \
JdeBP> | sed -e 's/^.//' -e 's/\([^.]\)$/\1./' > top-level-domains
Cut and paste error. Corrected full instructions:
tcpclient -HRl0 199.166.24.1 53 axfr-get . root.raw root.raw.tmp
nawk '!x[$0]++' < root.raw > root.clean
awk -F: '/^[&]/ { print $1 ; }' < root.clean \
| sed -e 's/^.//' -e 's/\([^.]\)$/\1./' > top-level-domains
Alternative instructions (eliminating intermediate file, should such a file
not be otherwise needed, and Useless Use of "sed"):
tcpclient -HRl0 199.166.24.1 53 axfr-get . root.raw root.raw.tmp
nawk -F: < root.raw \
'/^[&]/ { sub("^.","",$1) ; sub("[^.]$","&.",$1) ; print $1 ; }' \
| nawk '!x[$0]++' > top-level-domains
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic