summaryrefslogtreecommitdiffstats
path: root/util/bin
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
commit3c70e47f7c75f6467385f75fafa9ddefeeb4d920 (patch)
tree65ada6ad8c6a1eae2b42a1376a1dad0427cce550 /util/bin
parenta3a68df2e0b3c30eeb3ec7d9e8dbfb1e28e7613f (diff)
util wikipedia: from DNS
Diffstat (limited to 'util/bin')
-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