diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2021-12-19 12:09:36 +1100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-01-09 15:24:45 +0100 |
commit | 088c883bd1cac5635a39d5ffb5a8187209f553f4 (patch) | |
tree | 59ed2fad41b842b7dad94cab0d1dc5a9bb5e291a /doxygen/build_man.sh | |
parent | c3bada27b1db3044418733296cd00ba2e63b74fd (diff) | |
download | libnetfilter_queue-088c883bd1cac5635a39d5ffb5a8187209f553f4.tar.gz |
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>
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doxygen/build_man.sh')
-rwxr-xr-x | doxygen/build_man.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |