in reply to Re^2: how to avoid full scan in file.
in thread how to avoid full scan in file.
Looks like your script creates multiple output records, so if
l100107,bbbbbbb,c_0300,loc,12,6in FileA matches
l100107,bbbbbbb,c_0300,389in FileB, the output is 6 lines (the value of $qtd the last column)
l100107,bbbbbbb,loc,12,389 l100107,bbbbbbb,loc,12,389 l100107,bbbbbbb,loc,12,389 l100107,bbbbbbb,loc,12,389 l100107,bbbbbbb,loc,12,389 l100107,bbbbbbb,loc,12,389
Is that what you want ?
Also, can you please explain what this code line does.
pojlast if $count == $max;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to avoid full scan in file.
by EBK (Sexton) on May 25, 2019 at 16:43 UTC | |
by poj (Abbot) on May 25, 2019 at 17:15 UTC | |
by EBK (Sexton) on May 25, 2019 at 18:02 UTC | |
by poj (Abbot) on May 25, 2019 at 18:58 UTC | |
by EBK (Sexton) on May 25, 2019 at 23:38 UTC | |
| |
|
Re^6: how to avoid full scan in file.
by EBK (Sexton) on May 25, 2019 at 18:00 UTC |