summaryrefslogtreecommitdiff
path: root/vocab
diff options
context:
space:
mode:
Diffstat (limited to 'vocab')
-rwxr-xr-xvocab6
1 files changed, 1 insertions, 5 deletions
diff --git a/vocab b/vocab
index e7b03fe..e6bdcd9 100755
--- a/vocab
+++ b/vocab
@@ -1,8 +1,4 @@
#!/bin/sh
-pushd `dirname $0` > /dev/null
-SCRIPTPATH=`pwd -P`
-popd > /dev/null
-
-$SCRIPTPATH/toks ${1+"$@"} | sort | uniq -u
+$(dirname $0)/toks ${1+"$@"} | sort | uniq -c