Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. appsguy606

    Get the total of a field in all the lines

    Hi That script works but the only thing is the 6 line for the 2nd group appears at the end of file. This line should be after the 5 line. this is the output. Thank you very much. could you please help. 101 12110825030430021170810060810A094101BANK OF AMERICA 5200AMERICAN EXP 144892...
  2. appsguy606

    Get the total of a field in all the lines

    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...

Part and Inventory Search

Back
Top