aboutsummaryrefslogtreecommitdiff
path: root/bin/adict
diff options
context:
space:
mode:
Diffstat (limited to 'bin/adict')
-rwxr-xr-xbin/adict4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/adict b/bin/adict
index 74d710ed..32272844 100755
--- a/bin/adict
+++ b/bin/adict
@@ -1,4 +1,4 @@
-#!/usr/bin/env $PLAN9/bin/rc
+#!/usr/local/plan9/bin/rc
. $PLAN9/lib/acme.rc
@@ -76,7 +76,7 @@ case 0
dictwin /adict/$dict/ $dict
case *
if(~ $dict NONE){
- dict=`{dict -d'?' | 9sed -n 's/^ ([^\[ ]+).*/\1/p' | sed 1q}
+ dict=`{dict -d'?' | 9 sed -n 's/^ ([^\[ ]+).*/\1/p' | sed 1q}
if(~ $#dict 0){
echo 'no dictionaries present on this system' >[1=2]
exit nodict