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
commitd492547e762353c9b75cc9c0b7aca6f049695ef2 (patch)
tree679011659d70fa2f2758aab5875c3737390c3ada /util/bin
parentff6394d17bdaed9a522c2add967ffbd5574e68b7 (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