diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-07-25 12:43:01 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-07-25 12:43:01 +0000 |
| commit | d512a949c6449d8b38b5d49a17efa6414c75f753 (patch) | |
| tree | f25c0308a585a68244f9b7d73fb48c60ff3903a7 | |
| parent | 883d21c336a3d0c520bc0fe58d55632e2ce935de (diff) | |
20070725-1342
| -rw-r--r-- | CHANGES | 2 | ||||
| -rwxr-xr-x | dis/man | 17 | ||||
| -rw-r--r-- | include/version.h | 2 |
3 files changed, 11 insertions, 10 deletions
@@ -1,3 +1,5 @@ +20070725 + /dis/man initialise fils correctly to empty list and remove hack (issue 56) 20070720 utils/5l/asm.c: ensure SBZ field in MOV is regarded as MBZ (ie, force to zero) 20070714 @@ -3,7 +3,7 @@ # for more details see the real man(1) load std -fils='' +fils=() cmd=n sec=() S=/man @@ -86,9 +86,7 @@ if{no $fils} { } for i in $fils { - if {~ $i ''}{ - #echo bug ignore '' - }{! ftest -f $i}{ + if {! ftest -f $i}{ echo need:$i }{ if {~ $cmd n}{ @@ -98,12 +96,13 @@ for i in $fils { }{~ $cmd p}{ wm/man -f $i }{~ $cmd b}{ - if{~ $i '/man/*/*'}{ + if{~ $i '/man/*/0intro'}{ + x=`{echo $i | sed 's;/man/(.*)/.*;/\1 intro;'} + }{~ $i '/man/*/*'}{ x=`{echo $i | sed 's;/man/(.*)/(.*);\1 \2;'} - if{~ ${index 2 $x} 0intro}{ - x=(${index 1 $x} intro) - } - }{ x=($i ''); } + }{ + x=($i '') + } man2txt $i | plumb -i -d edit -a action showdata -a filename '/man/'^${tl $x}^'('^${hd $x}^')' diff --git a/include/version.h b/include/version.h index d651e3c6..ee3d4545 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20070714)" +#define VERSION "Fourth Edition (20070725)" |
