bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Can a GAWK script access its full path\name at "run-time?


From: Aharon Robbins
Subject: Re: [bug-gawk] Can a GAWK script access its full path\name at "run-time?
Date: Thu, 14 May 2015 20:34:09 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi Andy.

That patch looks like it would do the trick.

os_arg_fixup is a no-op on POSIX systems, but not on Windows or VMS.
A quick look makes me think that that routine should be called before
creating PROCINFO["argv"].

Even with the code in hand, I'm not sure this is worth adding.  It feels
like feature creep of only marginal value.

I suppose you can add it to master, if you will also add a few paragraphs
in the "Undocumented" node in the manual (and only there).  I don't feel
like making it an official, supported feature.

Thanks,

Arnold



reply via email to

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