bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Is close() better to be used for file reaching the end?


From: Peng Yu
Subject: Re: [bug-gawk] Is close() better to be used for file reaching the end?
Date: Thu, 31 Jan 2019 15:22:59 -0600

> as far as I can tell, the file will be closed at the end of the gawk run (no 
> need to close it in the program).
> If you read it again, then you really need to close it before re-reading it.

If I have thousands of files to read in one awk run, then it is better
to close the files. Otherwise, it might run into system level limit on
the number of files that can be opened?

-- 
Regards,
Peng



reply via email to

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