Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9929

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

From "digi_cs" <cosmogen@gmail.com>
Subject isexist(): filepath not exist/or file/or folder
Newsgroups comp.lang.awk
Date 2025-03-31 15:56 +0300
Message-ID <67ea910e$0$711$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


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.

The isexist() function is "packaged" into a small library file, isexist.lib, available for download at:

github.com/digics/isarray10

The link also provides access to documentation files in two languages and an example.awk file containing usage examples of the isexist() function, which is also available for download there.

I would be glad if this function proves useful to gawk users who actively work with the file system.

Regards
digi_cs 2025


--------------=  Posted using GrabIt  =----------------
------=  Binary Usenet downloading made easy =---------
-=  Get GrabIt for free from https://www.shemes.com/  =-

Back to comp.lang.awk | Previous | NextNext 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