aboutsummaryrefslogtreecommitdiff
path: root/dict
diff options
context:
space:
mode:
Diffstat (limited to 'dict')
-rwxr-xr-xdict20
1 files changed, 0 insertions, 20 deletions
diff --git a/dict b/dict
deleted file mode 100755
index 6d58fe9..0000000
--- a/dict
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# Dictionary wrapper.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-DICT="/usr/bin/dict"
-
-# Dispatch
-if [ -x "$DICT" ]; then
- $DICT "$@"
-else
- if which surfraw &> /dev/null; then
- surfraw wiktionary "$@"
- else
- echo "error: no suitable dictionary found in the system"
- exit 1
- fi
-fi