netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libnetfilter_queue v3] build: doc: Update build_man.sh for doxygen 1.9.2
@ 2021-12-19  1:09 Duncan Roe
  2022-01-04  1:54 ` Duncan Roe
  2022-01-09 14:26 ` Florian Westphal
  0 siblings, 2 replies; 3+ messages in thread
From: Duncan Roe @ 2021-12-19  1:09 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

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>
---
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(-)

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
 }
-- 
2.17.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-09 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-19  1:09 [PATCH libnetfilter_queue v3] build: doc: Update build_man.sh for doxygen 1.9.2 Duncan Roe
2022-01-04  1:54 ` Duncan Roe
2022-01-09 14:26 ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).