Hi
I have successfully used gawk with mixed text--and-binary content.
However, I ran into problem as gawk stops reading the input file if there is a <SUB> character in the file. The character <SUB> is a control character 'substitute', x1A in hex.
input file (test.txt:) has three lines with <SUB> at line two:
line 1 aA
line 2 b<SUB>B
line 3 cC
On windows cmd-promt the following shows output only to the up to character b. So <SUB> seems to be treated as an end of file.