shithub: riscv

Download patch

ref: 75990fc71960d16227e94817d122631f53408c74
parent: f2519d701c05471f74181c5750cf7ad418345dd9
author: cinap_lenrek <[email protected]>
date: Sat Aug 27 18:37:08 EDT 2016

fix wrong manpage section index generation for rc-httpd(8)

--- a/sys/lib/man/secindex
+++ b/sys/lib/man/secindex
@@ -7,7 +7,7 @@
 		s/, *$//
 		ty
 		:y
-		s/ *\\*-.*//
+		s/(^| * )\\*-.*//
 		tx
 		s/ *\\\(mi.*//
 		tx
@@ -21,7 +21,7 @@
 	/SH *DES/q
 	d
 	:x
-	s/ *\\*-.*//
+	s/(^| * )\\*-.*//
 	s/ *\\\(mi.*//
 	/^$/d
 	s/, */\