[Top][All Lists]

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

Re: [bug-gawk] -i infile unexpected behavior

From: Andrew J. Schorr
Subject: Re: [bug-gawk] -i infile unexpected behavior
Date: Tue, 17 Mar 2015 20:15:15 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Mar 17, 2015 at 05:00:26PM -0400, Andrew J. Schorr wrote:
> On Mon, Mar 16, 2015 at 01:30:43AM -0600, address@hidden wrote:
> > I'm OK with this change if you wish to take the trouble to make it.
> > I don't mind the extra variable.
> > 
> > If you decide to do this, please send me a patch + ChangeLog entry to
> > review and I'll commit and merge.
> I think the attached patch should do the trick.  It was a bit more complicated
> than expected.

Oops, I now see that standard practice in other awk libraries is for hidden
global variables to be lower-case and start with a single "_".  So perhaps
"__INPLACE_FILENAME" should be replaced with "_inplace_filename".  A modified
version is attached.


Attachment: inplace2.patch
Description: Text document

reply via email to

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