From c1dc1339f9e5b76f45ecbf9d08b466ceea9dbbe7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 15 Nov 2016 16:01:18 +0100 Subject: [PATCH] +bin/dict: dictionary lookup --- bin/dict | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/dict diff --git a/bin/dict b/bin/dict new file mode 100755 index 00000000..fe8c582f --- /dev/null +++ b/bin/dict @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# look up in dictionary or thesauras +# FIXME Make more user friendly + +BASEURL=dict://dict.org + +curl "$BASEURL/${1:-d}:${2:-$1}" + +# vim:set ft=sh: