Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

fixes a bug in gnu_awk.md where the incorrect variable INPLACE_SUFFIX was used. Replaces with inplace::suffix #27

Closed

Conversation

krishnakumarg1984
Copy link

The awk inplace editing section had introduced an incorrect variable 'INPLACE_SUFFIX' for backup. As of gawk 5.0 (not sure about earlier versions), this does not produce the expected result of creating a backup file.

The correct variable to use is inplace::suffix as seen in the official gawk manual

@learnbyexample
Copy link
Owner

Thanks for noting the change in new version. gawk 5.0 was released long after I first wrote this tutorial. As mentioned at start of the tutorial, code sample has been tested for 4.1.3 version.

I've planned to review all the changes and new features next year. Could you create an issue instead of PR? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants