I want to read a large (~1-4Gb) txt file with fields separated by "," and line separator "\n". Unfortunately, file contains \x00 (zero ASCII) symbols
AWK treats them as end of line + it ignores reminder of the line after the \x00.
As a simple example:
echo "\0060\0061\000\0060\0063" | nawk '{print $0}'
Output: 01
I would like to get: 0103
I should have specify my OS from the begining. It is SUN with 5.9 OS (very old but my department is happy with it )
finally, I've decided to use perl to replace \x00, smthng like