Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9931

Re: isexist(): filepath not exist/or file/or folder

From Ed Morton <mortonspam@gmail.com>
Newsgroups comp.lang.awk
Subject Re: isexist(): filepath not exist/or file/or folder
Date 2025-03-31 19:26 -0500
Organization A noiseless patient Spider
Message-ID <vsfbrr$1l0un$1@dont-email.me> (permalink)
References <67ea910e$0$711$14726298@news.sunsite.dk>

Show all headers | View raw


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.

Back to comp.lang.awk | Previous | NextPrevious in thread | Find similar


Thread

isexist(): filepath not exist/or file/or folder "digi_cs" <cosmogen@gmail.com> - 2025-03-31 15:56 +0300
  Re: isexist(): filepath not exist/or file/or folder gazelle@shell.xmission.com (Kenny McCormack) - 2025-03-31 13:49 +0000
  Re: isexist(): filepath not exist/or file/or folder Ed Morton <mortonspam@gmail.com> - 2025-03-31 19:26 -0500

csiph-web