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

    records seperated by n lines

    oops... input file is a little more complicated === 10/29/2007 line 1 data line 2 data line n data This is the rest of line 1 This is the rest of line 2 This is the rest of line n new line 1 data new line 2 data new line n data This is the rest of line 1 new data This is the rest...
  2. lenzand

    records seperated by n lines

    I think I have it but Will this work for tens of thousands of records? (large input file) plus I don't like that I have to use the string "line"... NF > 0 { records[NR] = $0 if ( NR == 1 ) gvmyday = $1 if ( $1 == "line" ) cnter+=1 } END { if (NR > 1) { for ( i = 2; i <=...
  3. lenzand

    records seperated by n lines

    Hi, please help I need to re-layout a file so the records are on one line. If I have 4 records then sample input: 10/29/2007 line 1 data line 2 data line 3 data line 4 data This line is rest of line 1 This line is rest of line 2 This line is rest of line 3 This line is rest of...

Part and Inventory Search

Back
Top