aboutsummaryrefslogtreecommitdiff
path: root/bin/Getdir
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 05:55:09 +0000
committerrsc <devnull@localhost>2005-01-14 05:55:09 +0000
commit9bbe4594efec95643a61272e718da8d7dcd16a25 (patch)
treef59f931a8236f5291ca09daec18227e71270fe20 /bin/Getdir
parent3a9ee6351914b85db336d51b0e450f954d37d7a6 (diff)
downloadplan9port-9bbe4594efec95643a61272e718da8d7dcd16a25.tar.gz
plan9port-9bbe4594efec95643a61272e718da8d7dcd16a25.tar.bz2
plan9port-9bbe4594efec95643a61272e718da8d7dcd16a25.zip
paranoia
Diffstat (limited to 'bin/Getdir')
-rwxr-xr-xbin/Getdir3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/Getdir b/bin/Getdir
index 5b839179..178d8dc9 100755
--- a/bin/Getdir
+++ b/bin/Getdir
@@ -2,6 +2,7 @@
# Click on an acme directory window and then execute Getdir
+. 9.rc
dir=acme/acme/$winid
fn rd {
@@ -20,7 +21,7 @@ if(! ~ $tag(1) */){
echo -n , | wr addr
ls -pF $tag(1) | sed 's/\*$//' |
- 9grep -v '^''?\.|\.o$|^''?o\.' |
+ grep -v '^''?\.|\.o$|^''?o\.' |
mc | wr data
echo -n '#0' | wr addr
echo -n 'dot=addr' | wr ctl