AWK 20230909 for DOS (AKA nawk) (Announce)
> AWK 20230909 for DOS
>
> Requires 8086 CPU or better.
A few years ago, I rebuilt MAWK 1.2.2 with Turbo C++ because it was smaller than the default (1996) DOS+OS/2 family .EXE and could compress with UPX. So only 60 kb UPX'd. It leaves a fair bit of conventional memory too.
The previous DOS build of "one true" AWK for us was via OpenWatcom by Gunther Knauf, IIRC, way back in 2010. It works okay (and large model, apparently) but doesn't quite have as much free RAM as MAWK.
GAWK for DJGPP isn't actively maintained or supported anymore, but a port of 5.0 is from 2019.
* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/unix/awk/
I only use "classic" OpenWatcom 1.9 since newer 2.0-pre hasn't been finalized (or perfectly tested, dunno). But FYI you can use "-za99" to allow some C99 features, e.g. "int blah = func();" (that you apparently worked around in a few places).
I probably had some other minor comments but can't remember. I'll take another look later.
Complete thread:
- AWK 20230909 for DOS (AKA nawk) - bencollver, 03.06.2024, 21:56 (Announce)
- AWK 20230909 for DOS (AKA nawk) - Rugxulo, 07.06.2024, 04:26
- AWK 20230909 for DOS (AKA nawk) - usotsuki, 07.06.2024, 06:09
- AWK 20230909 for DOS (AKA nawk) - Rugxulo, 07.06.2024, 04:26