From 9268fb8eba4a60499809965b3b69c2eb7e3798e7 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 31 Dec 2024 20:34:48 +0100 Subject: help2adoc: fix nawk --- tools/help2adoc.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/help2adoc.awk b/tools/help2adoc.awk index b36753f..47dd76f 100644 --- a/tools/help2adoc.awk +++ b/tools/help2adoc.awk @@ -130,7 +130,7 @@ BEGIN { if (Name !~ /[[:space:]]/) ProgramName = Name - else if (match(Target, /[^/]+$/)) + else if (match(Target, /[^\/]+$/)) ProgramName = substr(Target, RSTART, RLENGTH) printheader(ProgramName "(1)", "=") -- cgit v1.2.3-70-g09d2