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
commit25236810321db809db0622adb4edaade4b69f7d0 (patch)
tree1868f12a836b184cc95f7ddbbcff509d4fb2fe24 /util/bin
parenta916158579f77be390bb6974724439493fcb9835 (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