help-gawk
[Top][All Lists]
Advanced

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

Re: Will @include be called multiple times for duplicated files?


From: Peng Yu
Subject: Re: Will @include be called multiple times for duplicated files?
Date: Sat, 25 Feb 2023 21:24:28 -0600

https://www.gnu.org/software/gawk/manual/html_node/Include-Files.html

Where does it answer my question?

On 2/25/23, Manuel Collado <mcollado2011@gmail.com> wrote:
> 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
>
>


-- 
Regards,
Peng



reply via email to

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