dendenners
Programmer
Hi there,
I'm pretty new to awk and thus my knowledge is fairly patchy. I have a file with a header record (flagged as a header record by the fact that it begins with a "00" and a trailer record (begins with an "80" and I want to extract the substring from the 15th to the 30th character of the header record to one shell variable, and a similar substring from the trailer record to a different variable. Thanks in advance for any help
I'm pretty new to awk and thus my knowledge is fairly patchy. I have a file with a header record (flagged as a header record by the fact that it begins with a "00" and a trailer record (begins with an "80" and I want to extract the substring from the 15th to the 30th character of the header record to one shell variable, and a similar substring from the trailer record to a different variable. Thanks in advance for any help