gawkdistribution is available from the GNU Project’s main distribution site,
ftp.gnu.org. The canonical build recipe is:
wget https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.gz tar -xvpzf gawk-5.1.0.tar.gz cd gawk-5.1.0 ./configure && make && make check
NOTE: Because of the ‘https://’ URL, you may have to supply the --no-check-certificate option to
wgetto download the file.
gawkmay be built on non-POSIX systems as well. The currently supported systems are MS-Windows using MSYS, MSYS2, DJGPP, MinGW, and Cygwin, and both Vax/VMS and OpenVMS. Instructions for each system are included in this appendix.
gawk, how it was compiled, and a short program and data file that demonstrate the problem.
awkimplementations. Many are POSIX-compliant; others are less so.