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 TouchToneTommy 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: *

  • Users: Romeu
  • Content: Threads
  • Order by date
  1. Romeu

    GNU Awk memory allocation

    I'm having problems with a Gawk script that looks something like this: ----------------------------------------- while ( (getline < input_file) > 0 ) { # skip file header n_nr++ if ( n_nr < 3 ) continue summary_detail_array=$2&quot;|&quot;$3 summary_detail[summary_detail_array]+=$1...
  2. Romeu

    Join command

    I'm trying to join this file: 1|304500001||1|0|304500001|(...) 2|304500002||2|0|304500002|(...) 3|304500003||3|0|304500003|(...) 4|304500004||4|0|304500004|(...) 5|304500005||5|0|304500005|(...) 6|304500006||6|0|304500006|(...) 7|304500007||7|0|304500007|(...) 9|304500008||9|0|304500008|(...)...
  3. Romeu

    AWK performance

    In my earlier scripts, I could add a bunch of loops and arrays without a significant impact on run time. In other words, the most time consuming operation was to scan the file, and I could add more and more validations to each line with only a minor impact on performance (one script has more...

Part and Inventory Search

Back
Top