Q1: Where can I find a web-based AWK reference manual so I don't have to hound this forum with dumb questions?
Q2: How do I represent a null (ASCII=0) in a regexp?
Q3: The new version of my input file contains a field of 356 NULLs separating each report, (multiple reports per file) yet the newline in each record of the report appears to be hex 0D 0D 0A.
The existing AWK script deals with a report separator of 0D 0A 0A 0A so it was much easier to use the newline carat to signify the beginning of a report by recognizing
So how do I convert the field of nulls into an 0D 0A so I can pretend my reports still begin on a new line?
Thanks,
Take care,
--Shaun Merrill
Seattle, WA
Q2: How do I represent a null (ASCII=0) in a regexp?
Q3: The new version of my input file contains a field of 356 NULLs separating each report, (multiple reports per file) yet the newline in each record of the report appears to be hex 0D 0D 0A.
The existing AWK script deals with a report separator of 0D 0A 0A 0A so it was much easier to use the newline carat to signify the beginning of a report by recognizing
Code:
/^First chars of each report/
Thanks,
Take care,
--Shaun Merrill
Seattle, WA