Hi
I have a fixed format data file. In this data file I want the total of all the fields at position:21 of all the lines starting with 6. There lines starting with 6 for each group of line start wtih 5. In this case I should get 2 totals as there are 2 groups of 5 lines.
$ cat file
101...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.