mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
manweb: avoid null concatenation
This commit is contained in:
parent
60cbcf8634
commit
3d52c7487f
1 changed files with 4 additions and 0 deletions
4
dist/manweb
vendored
4
dist/manweb
vendored
|
@ -32,6 +32,10 @@ for(i in */INDEX) @{
|
||||||
echo '<tr height=1><td colspan=2 bgcolor=#cccccc>'
|
echo '<tr height=1><td colspan=2 bgcolor=#cccccc>'
|
||||||
echo '<tr height=1><td>'
|
echo '<tr height=1><td>'
|
||||||
}
|
}
|
||||||
|
if(~ $#name 0)
|
||||||
|
name=XXX-name-$j-XXX
|
||||||
|
if(~ $#n 0)
|
||||||
|
n=XXX-n-$j-XXX
|
||||||
echo -n '<tr><td valign=top><a href="'$name'.html">'$name'('$n')</a><td>'
|
echo -n '<tr><td valign=top><a href="'$name'.html">'$name'('$n')</a><td>'
|
||||||
sed -n '
|
sed -n '
|
||||||
/SH *NAM/,/SH/{
|
/SH *NAM/,/SH/{
|
||||||
|
|
Loading…
Reference in a new issue