bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re:Include directive bug fix


From: zhou shuiqing
Subject: re:Include directive bug fix
Date: Fri, 5 May 2023 03:43:46 +0000

The command “AWKPATH=include gawk -f ./main.awk” works fine, but the command 
“AWKPATH=include gawk -f main.awk” results in an error. This is because the 
path specified for AWKPATH is “include”, but there is no “main.awk” file under 
“include”. During debugging, it was observed that “main.awk” was being changed 
to “main.awk.awk” and searched again.
I tested it on fedora37 and gawk 5.1.1.
I’m not sure if what you’re saying is related to you mentioned.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]