Each has three columns: IPv4, Count 1 or Count 2, Textfile name.

Above, I assumed ListA.txt had one single column (because the attached file is like that). If there are more columns, then ++count[$0] must be replaced with ++count[$1].

For performance, use pipes instead of temporary files and avoid useless commands. As far as I understand the beginning of your last post (very little), you do not need to reorder the input fields and can get rid of the last one in DataY-DVCts.txt (your awk program does not print it). In the end, it looks like you could write: $ join

Reply via email to