build: doc: Update build_man.sh for doxygen 1.9.2
PATCH 1/1 build: doc: Update build_man.sh for doxygen 1.9.2
Cater for bold line number in del_def_at_lines()
--- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doxygen/build_man.sh +1 -1
@@ -96,7 +96,7 @@ fix_double_blanks(){ del_def_at_lines(){ linnum=1 while [ $linnum -ne 0 ] - do mygrep "^Definition at line [[:digit:]]* of file" $target + do mygrep '^Definition at line (\\fB)?[[:digit:]]*(\\fP)? of file' $target [ $linnum -eq 0 ] || delete_lines $(($linnum - 1)) $linnum done }
Signature · 1 line
2.17.5
Pablo Neira Ayuso
maintainerA bit more details on this one? It's just a cosmetic issue?
Quoted 23 lines · Duncan Roe
Cater for bold line number in
del_def_at_lines()Signed-off-by Duncan Roe <[email protected]>--- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doxygen/build_man.sh +1
-1@@ -96,7 +96,7 @@ fix_double_blanks(){ del_def_at_lines(){ linnum=1 while [ $linnum -ne 0 ] - do mygrep "^Definition at line [[:digit:]]* of file" $target + do mygrep '^Definition at line (\\fB)?[[:digit:]]*(\\fP)? of file' $target [ $linnum -eq 0 ] || delete_lines $(($linnum - 1)) $linnum done }Signature · 1 line
2.17.5
Hi Pablo,
Quoted 10 lines · Pablo Neira Ayuso
A bit more details on this one? It's just a cosmetic issue?
Quoted 7 lines · Duncan Roe
Cater for bold line number in
del_def_at_lines()Signed-off-by Duncan Roe <[email protected]>--- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 14 lines
doxygen/build_man.sh +1
-2@@ -96,7 +96,7 @@ fix_double_blanks(){ del_def_at_lines(){ linnum=1 while [ $linnum -ne 0 ] - do mygrep "^Definition at line [[:digit:]]* of file" $target + do mygrep '^Definition at line (\\fB)?[[:digit:]]*(\\fP)? of file' $target [ $linnum -eq 0 ] || delete_lines $(($linnum - 1)) $linnum done } --Quoted 2 lines
2.17.5
No, not cosmetic. The regexp has to be updated to recognise a line with bold line numbering. Without the patch, the unwanted line appears in the man page.
I thought that was obvious. Will submit a v2 explaining a bit more, unless you apply the patch in the meantime.
Cheers ... Duncan.
Pablo Neira Ayuso
maintainerQuoted 23 lines · Duncan Roe
Hi Pablo,
Quoted 20 lines · Pablo Neira Ayuso
A bit more details on this one? It's just a cosmetic issue?
Quoted 17 lines · Duncan Roe
Cater for bold line number in
del_def_at_lines()Signed-off-by Duncan Roe <[email protected]>--- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doxygen/build_man.sh +1
-1@@ -96,7 +96,7 @@ fix_double_blanks(){ del_def_at_lines(){ linnum=1 while [ $linnum -ne 0 ] - do mygrep "^Definition at line [[:digit:]]* of file" $target + do mygrep '^Definition at line (\\fB)?[[:digit:]]*(\\fP)? of file' $target
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
doxygen/build_man.sh +0
-1[ $linnum -eq 0 ] || delete_lines $(($linnum - 1)) $linnum done } --2.17.5
No, not cosmetic. The regexp has to be updated to recognise a line with bold line numbering. Without the patch, the unwanted line appears in the man page.
I see.
Quoted 2 lines
I thought that was obvious. Will submit a v2 explaining a bit more, unless you apply the patch in the meantime.
Thanks for sending v2.