summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2024-10-04 14:06:39 +1000
committerPhil Sutter <phil@nwl.cc>2024-10-12 12:28:24 +0200
commit809240b36408b4258fb02250e34849431de714ab (patch)
treeb2c3312b47a1102605ebafe8454dec1bb69bb364
parentf05b188f8b4ccd1d3f466c3e28390c4c2005fa19 (diff)
build: add missing backslash to build_man.sh
Search for exact match of ".RI" had a '\' to escape '.' from the regexp parser but was missing another '\' to escape the 1st '\' from shell. Had not yet caused a problem but might as well do things correctly. Fixes: 6d17e6daa1757 ("build: Speed up build_man.sh") Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Phil Sutter <phil@nwl.cc>
-rwxr-xr-xdoxygen/build_man.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh
index d262f12..95c7569 100755
--- a/doxygen/build_man.sh
+++ b/doxygen/build_man.sh
@@ -42,7 +42,7 @@ rename_real_pages(){
do
j=$(ed -s $i <<////
/Functions/+1;.#
-/^\.RI/;.#
+/^\\.RI/;.#
.,.s/^.*\\\\fB//
.,.s/\\\\.*//
.,.w /dev/stdout