help2adoc: fix nawk
All checks were successful
Alpine 3.20 Success

This commit is contained in:
Přemysl Eric Janouch 2024-12-31 20:34:48 +01:00
parent b01df19b80
commit 9268fb8eba
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -130,7 +130,7 @@ BEGIN {
if (Name !~ /[[:space:]]/) if (Name !~ /[[:space:]]/)
ProgramName = Name ProgramName = Name
else if (match(Target, /[^/]+$/)) else if (match(Target, /[^\/]+$/))
ProgramName = substr(Target, RSTART, RLENGTH) ProgramName = substr(Target, RSTART, RLENGTH)
printheader(ProgramName "(1)", "=") printheader(ProgramName "(1)", "=")