aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-31 20:34:48 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-12-31 20:34:48 +0100
commit9268fb8eba4a60499809965b3b69c2eb7e3798e7 (patch)
treeda6e9e4e5906b3c1afe6ab54c42f73f130121b2c /tools
parentb01df19b80f72b6c8458d7cd04207c84ebbd72fc (diff)
downloadliberty-9268fb8eba4a60499809965b3b69c2eb7e3798e7.tar.gz
liberty-9268fb8eba4a60499809965b3b69c2eb7e3798e7.tar.xz
liberty-9268fb8eba4a60499809965b3b69c2eb7e3798e7.zip
help2adoc: fix nawk
Diffstat (limited to 'tools')
-rw-r--r--tools/help2adoc.awk2
1 files changed, 1 insertions, 1 deletions
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)", "=")