Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

AWK 20230909 for DOS (AKA nawk) (Announce)

posted by Rugxulo Homepage, Usono, 07.06.2024, 04:26

> 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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 117 users online (0 registered, 117 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum