bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Is there a way to get the path to the current awk file?


From: david kerns
Subject: Re: [bug-gawk] Is there a way to get the path to the current awk file?
Date: Thu, 17 Jan 2019 07:15:26 -0700

On Thu, Jan 17, 2019 at 6:53 AM <address@hidden> wrote:

> Peng Yu <address@hidden> wrote:
>
> > Hi,
> >
> > I don't see such a feature. Is there a way to get the path to the
> > current awk file? Thanks.
> >
> > --
> > Regards,
> > Peng
>
> No, unfortunately, there is not.
>
>
if you're running on Linux, you have a host of resources available in
/proc/self/{cmdline,cwd,environ,fd/*} ... but it's not very portable


reply via email to

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