Mail Archives: djgpp/2000/04/27/06:43:44
I use DJGPP gawk a lot and find it to be far and away the best version
of awk that I have ever used. However I have experienced two small
problems that appear to be related to the DOS-centric implementations of
the C read/write functions in text mode.
1. printf("%c",10) outputs two consecutive bytes, values 13, 10. All
values other than 10 are output verbatim. This is obviously replacing CR
with CR,LF.
2. reading of an input file is terminated if an embedded ^Z (value 26)
is encountered. This is a hangover from very early versions of DOS.
I would expect to find command line options, environment settings or
built-in variable settings that would prevent the above behaviours, or
at least a caveat in the documentation, but I have not found any.
I am using gawk 3.0.3 from file
djgpp/gwk303b.zip 518627 1997-06-01 8:53:06
I have looked at the changes listed in
djgpp/gwk304b.zip 535364 2000-01-21 16:21:26
but found none relevant to these problems.
Can anyone please tell me if I have missed something, otherwise I will
report these as bugs. Please e-mail direct to me (I do not subscribe to
comp.os.msdos.djgpp), and I will summarise via djgpp AT delorie DOT com, the
e-mail gateway to comp.os.msdos.djgpp
TIA, Clive Jenkins
- Raw text -