]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/mkpubsuffixcc
Merge pull request #8223 from PowerDNS/omoerbeek-patch-1
[thirdparty/pdns.git] / pdns / mkpubsuffixcc
1 #!/bin/sh
2
3 (echo "const char* g_pubsuffix[]={";
4 for a in $(grep -v "//" effective_tld_names.dat | grep \\. | egrep "^[.0-9a-z-]*$")
5 do
6 echo \"$a\",
7 done
8 echo "0};") > pubsuffix.cc