summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authortv <tv@also>2011-08-05 23:57:18 +0200
committertv <tv@also>2011-08-05 23:57:18 +0200
commit8e1bf193115e0bcc8df4feac153cd420f078ad42 (patch)
treeefb63977faeda741b0cbbbcaf73288f265f37791 /util
parentab7e1cb483b2980b94d21e642e97f6a57064adb1 (diff)
util wikipedia: from DNS
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/wikipedia5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/bin/wikipedia b/util/bin/wikipedia
new file mode 100755
index 00000000..cad0d8b1
--- /dev/null
+++ b/util/bin/wikipedia
@@ -0,0 +1,5 @@
+#! /bin/sh
+set -euf
+for w in "$@"; do
+ dig +short txt "$w.wp.dg.cx"
+done