Sujet : Re: isexist(): filepath not exist/or file/or folder
De : mortonspam (at) *nospam* gmail.com (Ed Morton)
Groupes : comp.lang.awkDate : 01. Apr 2025, 01:26:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsfbrr$1l0un$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 3/31/2025 7:56 AM, digi_cs wrote:
Hi Everyone!
Let me introduce isexist() function to those who work extensively with the file system while programming in gawk. This function provides a fast way to check whether a path exists and what it points to: a file or a folder.
I haven't had a need for this personally but can't we already do that and more with the `stat` function from the `filefuncs` extension described at
https://www.gnu.org/software/gawk/manual/gawk.html#Extension-Example? Ed.