From e0801e6bd6cc1241afafea33ba8ef701fec2e5c5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 17:45:37 +0200 Subject: Adding upstream version 5.5.17. Signed-off-by: Daniel Baumann --- make_new_gtlds.pl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 make_new_gtlds.pl (limited to 'make_new_gtlds.pl') diff --git a/make_new_gtlds.pl b/make_new_gtlds.pl new file mode 100755 index 0000000..dc7110e --- /dev/null +++ b/make_new_gtlds.pl @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +while (<>) { + chomp; + s/#.*$//; + s/^\s+//; s/\s+$//; + next if /^$/; + + die "format error: $_" if not /^(xn--[a-z0-9-]+|[a-z]+)$/; + + print qq| "$_",\n|; +} + -- cgit v1.2.3