-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Grawkit POSIX-compatible, remove
gawk
-specific extensions
This commit removes `gawk`-specific extensions in Grawkit, making it work for any POSIX-compatible AWK, with `gawk`, `nawk`, `busybox awk`, and `goawk` passing the test suite successfully. The largest changes are related to removing `match` extensions for capturing groups; these were used for parsing command-lines, and have now being handled in the `parse_command` function in a more robust way. Other small changes have been made to the included `Makefile` for allowing tests to run against different AWK implementations.
- Loading branch information
Showing
3 changed files
with
183 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.