mawk 1.3.4 20240622 for DOS (Announce)
> The msvcrt.dll supplied with Windows XP seems to work - and I guess the
> ones supplied with Win9x are also ok.
Thanks! I tried the following MSVCRT.DLL and at first glance it appeared to work:
https://archive.org/download/microsoftwindowsprein...%29%20%28EN%29.iso/I386%2FSYSTEM32%2FMSVCRT.DLL
C:\BEN\mawk\bin>mawk "BEGIN{print \"hi\"}"
hi
But on closer inspection, it appears to have trouble running itself.
C:\BEN\mawk\bin>type test.awk
function sys(str) {
printf "test.awk: %s\n", str
retval = system(str)
print ""
return retval
}
BEGIN {
sys("cd")
cmd = ARGV[0] " \"BEGIN{print \\\"hi\\\"}\""
sys(cmd)
exit 0
}
C:\BEN\mawk\bin>mawk -f test.awk
test.awk: cd
C:\BEN\MAWK\BIN
test.awk: C:\ben\mawk\bin\mawk.exe "BEGIN{print \"hi\"}"
C:\FreeDOS\BIN\COMMAND.COM: line 1: runaway regular expression /c ...
I'm not sure what to blame: this win32 build of mawk.exe, HX, or something else.
For comparison, here's the output from a DJGPP build of mawk.exe.
C:\BEN\BIN>mawk -f test.awk
test.awk: cd
C:\BEN\BIN
test.awk: mawk.exe "BEGIN{print \"hi\"}"
hi
Complete thread:
- mawk 1.3.4 20240622 for DOS - bencollver, 15.08.2024, 03:27 (Announce)
- mawk 1.3.4 20240622 for DOS - Rugxulo, 15.08.2024, 06:57
- mawk 1.3.4 20240622 for DOS - bencollver, 15.08.2024, 16:27
- mawk 1.3.4 20240622 for DOS - Rugxulo, 15.08.2024, 16:40
- mawk 1.3.4 20240622 for DOS - bencollver, 15.08.2024, 17:33
- mawk 1.3.4 20240622 for DOS - Rugxulo, 16.08.2024, 04:21
- mawk 1.3.4 20240622 for DOS - bencollver, 16.08.2024, 04:45
- mawk 1.3.4 20240622 for DOS - Oso2k, 16.08.2024, 15:27
- mawk 1.3.4 20240622 for DOS - Rugxulo, 25.08.2024, 01:09
- mawk 1.3.4 20240622 for DOS - Japheth, 25.08.2024, 07:04
- mawk 1.3.4 20240622 for DOS - Rugxulo, 16.08.2024, 04:21
- mawk 1.3.4 20240622 for DOS - bencollver, 15.08.2024, 17:33
- mawk 1.3.4 20240622 for DOS - Rugxulo, 15.08.2024, 16:40
- mawk 1.3.4 20240622 for DOS - bencollver, 20.08.2024, 03:35
- mawk 1.3.4 20240622 for DOS - Japheth, 20.08.2024, 13:27
- mawk 1.3.4 20240622 for DOS - bencollver, 21.08.2024, 00:38
- mawk 1.3.4 20240622 for DOS - Rugxulo, 21.08.2024, 12:50
- mawk 1.3.4 20240622 for DOS - Japheth, 21.08.2024, 17:02
- mawk 1.3.4 20240622 for DOS - bencollver, 21.08.2024, 18:55
- mawk 1.3.4 20240622 for DOS - Rugxulo, 21.08.2024, 23:25
- mawk 1.3.4 20240622 for DOS - bencollver, 22.08.2024, 02:09
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 00:55
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 03:08
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 08:14
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 17:34
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 19:22
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 19:53
- mawk 1.3.4 20240622 for DOS - Japheth, 03.09.2024, 21:26
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 19:53
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 19:22
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 17:34
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 08:14
- mawk 1.3.4 20240622 for DOS - bencollver, 23.08.2024, 03:08
- mawk 1.3.4 20240622 for DOS - Japheth, 23.08.2024, 00:55
- mawk 1.3.4 20240622 for DOS - bencollver, 22.08.2024, 02:09
- mawk 1.3.4 20240622 for DOS - Rugxulo, 21.08.2024, 23:25
- mawk 1.3.4 20240622 for DOS - bencollver, 21.08.2024, 18:55
- mawk 1.3.4 20240622 for DOS - bencollver, 21.08.2024, 00:38
- mawk 1.3.4 20240622 for DOS - Japheth, 20.08.2024, 13:27
- mawk 1.3.4 20240622 for DOS - bencollver, 15.08.2024, 16:27
- mawk 1.3.4 20240622 for DOS - bencollver, 24.08.2024, 04:55
- mawk 1.3.4 20240622 for DOS - Rugxulo, 24.08.2024, 13:34
- mawk 1.3.4 20240622 for DOS - bencollver, 24.08.2024, 18:05
- mawk 1.3.4 20240622 for DOS - Rugxulo, 24.08.2024, 13:34
- mawk 1.3.4 20240622 for DOS - Rugxulo, 15.08.2024, 06:57