From 088c883bd1cac5635a39d5ffb5a8187209f553f4 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Sun, 19 Dec 2021 12:09:36 +1100 Subject: build: doc: Update build_man.sh for doxygen 1.9.2 Function del_def_at_lines() removes lines of the form: Definition at line of file ... At doxygen 1.9.2, is displayed in bold, so upgrade the regex to match an optional bold / normal pair around Signed-off-by: Duncan Roe Signed-off-by: Florian Westphal --- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh index 852c7b8..c68876c 100755 --- a/doxygen/build_man.sh +++ b/doxygen/build_man.sh @@ -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 } -- cgit v1.2.3