+bin/dict: dictionary lookup

This commit is contained in:
Henrik Lissner 2016-11-15 16:01:18 +01:00
parent ed58ea298e
commit c1dc1339f9

10
bin/dict Executable file
View file

@ -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: