summaryrefslogtreecommitdiff
path: root/dis
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-09-01 02:29:58 +0000
committerCharles.Forsyth <devnull@localhost>2007-09-01 02:29:58 +0000
commit492f69dc458aa1415bdf4490b615e71609e4a4ea (patch)
tree4b1817c00515aeeaa10a60844be49f58e1805de6 /dis
parenta04ed81791d82873bd4cb75d2159957b137efe64 (diff)
20070901-0329
Diffstat (limited to 'dis')
-rwxr-xr-xdis/lookman1
-rwxr-xr-xdis/man2
2 files changed, 2 insertions, 1 deletions
diff --git a/dis/lookman b/dis/lookman
index edf8972b..57610bf6 100755
--- a/dis/lookman
+++ b/dis/lookman
@@ -3,6 +3,7 @@ load std
fn cmdform {
sed 's;/man/;;
+ s;(.*)/(0intro);man \1 \2 # intro(\1);
s;(.*)/(.*);man \1 \2 # \2(\1);'
}
post=cmdform
diff --git a/dis/man b/dis/man
index 1c83abc5..07bc3b90 100755
--- a/dis/man
+++ b/dis/man
@@ -97,7 +97,7 @@ for i in $fils {
wm/man -f $i
}{~ $cmd b}{
if{~ $i '/man/*/0intro'}{
- x=`{echo $i | sed 's;/man/(.*)/.*;/\1 intro;'}
+ x=`{echo $i | sed 's;/man/(.*)/.*;\1 intro;'}
}{~ $i '/man/*/*'}{
x=`{echo $i | sed 's;/man/(.*)/(.*);\1 \2;'}
}{