This is my port of GAWK version 2.11 to MINIX.  BAWK, which is included
in MINIX, wasn't up to the task of processing the kinds of awk scripts
that seem to be common in the unix world, so I hacked GAWK.

IMPORTANT: cat together the five files, awk.tab.c-[1-5], into
awk.tab.c before doing anything else!  If you have a good yacc
that can handle awk.y, you won't need the awk.tab.c file; otherwise,
be sure to cat the five parts together.

Note that this package does not contain the complete set of files that
are or were distributed in the GNU package of GAWK 2.11.  Things that
are missing include the pc.d directory, which contains files to support
GAWK under MS-DOS, the gawk.texinfo file, and the support directory which
holds macros for TeX.  FTP to your local friendly GNU repository to
get the complete, original distribution.

GAWK didn't need much changing as far as MINIX goes, except for floating point.
GAWK was completely dependent on floating point arithmetic.  I know that there
are floating point libraries and hacks to compilers to support floating
point, but removing floating point from GAWK is seems to be acceptable for
typical awk scripts, and Bruce Evans' C compiler doesn't grok floating point.
Floating point implemented in software is so slow (and some floating point
hardware isn't much better) that this is probably a performance win.

One other change that's important: preprocessor item ERROR is
defined in <errno.h> in MINIX, but the original source to GAWK
wanted to define ERROR, too.  I changed (without ifdef'ing them)
the instances of ERROR in awk.y to _ERROR.

I have compiled GAWK and tested it a bit under 386-MINIX using Bruce
Evans' C compiler.  It should work for 68000 machines without troubles.
Define NOFLOAT to drop the floating point code out of GAWK.  (All floating
point values are replaced with signed long integers, FYI).  Define MINIX
to make GAWK use the correct include files.

As for users of PC-MINIX, I have doubts that GAWK will work well in the
64K I&D constraints.  Good luck to you if you try to make it work!

I'm reasonably sure that the FSF won't incorporate the changes I have made
to disable floating point operations in GAWK, so *please* don't send requests
to the FSF GNU project regarding this particular implementation.

These changes to GNU GAWK Copyright 1991 Guy Helmer.  This software is
licensed according to the GNU General Public License found in the file
COPYING, which should have accompanied this software distribution.
This release in no way implies that there will be bug fixes supplied
or future versions released.

Portions of code contained in the file awk.tab.c as distributed are
from the Berkeley public domain yacc.

Enjoy!
Guy Helmer
