The mawk utility is not currently in the cygwin repository. However, it is available from a third party repository:

Replacing gawk with mawk Edit

It is not possible to remove gawk using apt-cyg:

apt-cyg remove gawk
apt-cyg cannot remove package gawk, exiting

To replace gawk with awk:

  • Download the precompiled mawk package:
  • Unpack the precompiled package:
tar xjf mawk-
  • Install the mawk interpreter:
cp usr/bin/mawk.exe /usr/bin/mawk.exe
  • Update the awk symlink:
cd /usr/bin
rm awk.exe
ln -s mawk.exe awk.exe
  • Delete the gawk executable
rm /usr/bin/gawk.exe

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.