|
From: | Manuel Collado |
Subject: | Re: Will @include be called multiple times for duplicated files? |
Date: | Sat, 25 Feb 2023 09:30:20 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
Please read the gawk manual before asking. Hint: @include and --include. El 25/2/23 a las 2:04, Peng Yu escribió:
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?
-- Manuel Collado - http://mcollado.z15.es
[Prev in Thread] | Current Thread | [Next in Thread] |