aboutsummaryrefslogtreecommitdiff
path: root/bin/adict
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-11 20:58:13 +0000
committerrsc <devnull@localhost>2005-01-11 20:58:13 +0000
commit2b85f70db0d42f72fc532de906494fa173efa834 (patch)
tree4ddfef07401aaf3d0d121182ee450422e61a1243 /bin/adict
parentc70667367f0d720fd6ddc62041ba5fcf10dc7f4c (diff)
downloadplan9port-2b85f70db0d42f72fc532de906494fa173efa834.tar.gz
plan9port-2b85f70db0d42f72fc532de906494fa173efa834.tar.bz2
plan9port-2b85f70db0d42f72fc532de906494fa173efa834.zip
change scripts back to /usr/local/plan9/bin/rc. sigh.
man replaces 9man
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