Open thorstenkampe opened 8 years ago
Mawk 1.3.4 20131226 (Cygwin)
mawk '{printf "%s %s\n", $2, $1}' TEST.txt A1 B1
The next statement shows correct output and content of TEXT.txt:
TEXT.txt
mawk '{printf "%s %s\n", $1, $2}' TEST.txt A1 A2 B1 B2
This happens only with Windows line endings. Gawk doesn't have the problem:
gawk '{printf "%s %s\n", $2, $1}' TEST.txt A2 A1 B2 B1
Mawk 1.3.4 20131226 (Cygwin)
The next statement shows correct output and content of
TEXT.txt
:This happens only with Windows line endings. Gawk doesn't have the problem: