help-gawk
[Top][All Lists]
Advanced

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

Will @include be called multiple times for duplicated files?


From: Peng Yu
Subject: Will @include be called multiple times for duplicated files?
Date: Fri, 24 Feb 2023 19:04:19 -0600

Suppose that A.awk includes B.awk, C.awk includes B.awk, D.awk
includes A.awk and C.awk, if I include D.awk in another awk file, how
many times B.awk will be accessed by awk? Is it twice or once?

In other words, does awk know B.awk has been included already and
therefore will not try to include it again?

-- 
Regards,
Peng



reply via email to

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