p-j-miller / wmawk2

wmawk2 is a port of mawk v2 to windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wmawk2

This is a port of mawk 1.9.9.6 to windows. A 64 bit windows executable is included with the release.

It was created because the version on github ( https://github.com/mikebrennan000/mawk-2 ) did not compile for windows when using tdm-gcc 9.2.2, and when these issues were resolved the system command did not work.

The systime function was also added as this useful and is now common in other awk implementations and this function cannot be implemented as an awk script.

As the main reason for using mawk is its speed and the tdm-gcc 9.2.2 implementation of strtod() is slow this version also uses the much faster version from https://github.com/p-j-miller/ya-sprintf .

If you compile from source you can decide what additions are used with #defines see config.h

wmawk2 has been heavily used and has been periodically checked against other versions of awk where it has been found to give identical answers much faster.

The wmawk2.dev file is a project file for the dev-c++ ide which is the simplest way to recompile wmawk2.

Please read the manual in the man directory which has been updated for this version and includes more information on installation and use.

About

wmawk2 is a port of mawk v2 to windows

License:GNU General Public License v3.0


Languages

Language:C 81.0%Language:CWeb 9.1%Language:Yacc 6.1%Language:Makefile 1.3%Language:C++ 1.2%Language:Shell 0.6%Language:Awk 0.4%Language:M4 0.3%