diff options
author | rsc <devnull@localhost> | 2005-01-13 04:49:19 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-13 04:49:19 +0000 |
commit | c8b6342d3c2a167dec16931815926e9e4387e7ef (patch) | |
tree | 80d3ec6ea074462b30639168113def880476dad6 /bin/man | |
parent | 741f510ce758f77ed5193256fb693a09a7daecce (diff) | |
download | plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.tar.gz plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.tar.bz2 plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.zip |
Many small edits.
Diffstat (limited to 'bin/man')
-rwxr-xr-x | bin/man | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -60,11 +60,11 @@ if(~ $#sec 0) { } ix=$S/man$sec/INDEX if(~ $#* 1) pat='^'^$1^' ' -if not pat='^('^`{echo $* | 9sed 's/ /|/g'}^') ' +if not pat='^('^`{echo $* | 9 sed 's/ /|/g'}^') ' fils=() for(i in $S/man$sec){ - if(/bin/test -f $i/INDEX){ - try=`{grep $pat $i/INDEX | 9sed 's/^[^ ]* //'} + if(test -f $i/INDEX){ + try=`{grep $pat $i/INDEX | 9 sed 's/^[^ ]* //'} if(! ~ $#try 0) fils=($fils $i/$try) } @@ -75,7 +75,7 @@ if(~ $#fils 0) { for(i) { for(n in $sec) { try=$S/man$n/$i.$n* - if (/bin/test -f $try) + if (test -f $try) fils=($fils $try) } } @@ -85,7 +85,7 @@ if(~ $#fils 0) { } } for(i in $fils) { - if(! /bin/test -f $i) + if(! test -f $i) echo need $i >[1=2] if not { switch($cmd) { @@ -99,7 +99,7 @@ for(i in $fils) { roff t $i |tr2post |psfonts |page case n - roff n $i | 9sed ' + roff n $i | 9 sed ' ${ /^$/p } |