summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-03-16 16:36:52 +0100
committerPatrick Simianer <pks@pks.rocks>2019-03-16 16:36:52 +0100
commitef0c0859c26bf5703f3ec26cd7d97bcd05341d7a (patch)
treef3dcc7f5d8b06f2d36bd5754ace3c459875f6521
parent7d3fb5215496dc4e2bbc93234492ce3e00596036 (diff)
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