build: doc: Update build_man.sh for doxygen 1.9.2
PATCH v3 1/1 build: doc: Update build_man.sh for doxygen 1.9.2
Function del_def_at_lines() removes lines of the form:
Definition at line <nnn> of file ...
At doxygen 1.9.2, <nnn> is displayed in bold, so upgrade the regex to match an optional bold / normal pair around <nnn>
---
v2: Expand commit message as pablo requested
v3: same as v2 but has these vn: 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
Hey Pablo,
Quoted 28 lines · Duncan Roe
Function
del_def_at_lines()removes lines of the form:Definition at line <nnn> of file ...
At doxygen 1.9.2, <nnn> is displayed in bold, so upgrade the regex to match an optional bold / normal pair around <nnn>
Signed-off-by Duncan Roe <[email protected]>---
v2: Expand commit message as pablo requested
v3: same as v2 but has these vn: linesdoxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)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
You didn't apply this yet. Any reason (apart from being too busy)?
On the subject of being too busy, have you considered delegating supervision of libnetfilter_queue to somebody else in the core team? I notice Florian W. checked in a new examples/nf-queue.c yesterday.
Cheers ... Duncan.
Quoted 4 lines · Duncan Roe
At doxygen 1.9.2, <nnn> is displayed in bold, so upgrade the regex to match an optional bold / normal pair around <nnn>
Signed-off-by Duncan Roe <[email protected]>
Applied, thanks.