gawk: Cygwin

1 
1 B.3.1.4 Using 'gawk' In The Cygwin Environment
1 ..............................................
1 
1 'gawk' can be built and used "out of the box" under MS-Windows if you
1 are using the Cygwin environment (http://www.cygwin.com).  This
1 environment provides an excellent simulation of GNU/Linux, using Bash,
1 GCC, GNU Make, and other GNU programs.  Compilation and installation for
1 Cygwin is the same as for a Unix system:
1 
1      tar -xvpzf gawk-4.2.1.tar.gz
1      cd gawk-4.2.1
1      ./configure
1      make && make check
1 
1    When compared to GNU/Linux on the same system, the 'configure' step
1 on Cygwin takes considerably longer.  However, it does finish, and then
1 the 'make' proceeds as usual.
1 
1    Recent versions of Cygwin open all files in binary mode.  This means
1 that you should use 'RS = "\r?\n"' in order to be able to handle
1 standard MS-Windows text files with carriage-return plus line-feed line
1 endings.
1 
1    The Cygwin environment supports both the '|&' operator and TCP/IP
1 networking (⇒TCP/IP Networking).
1