Here's what I found that works; I simply append a letter to each "proxy-IP address"
for the duration of the processing and then remove it afterwards.

Workaround:
awk '{print$1"\t""w"}' 'ListA.txt' | tr -d "\t" > ListA-w.txt ... somewhat redundant awk '{print $1"w",$2, $3, $4}' ListB.txt > ListB-w.txt .......... this works also

Then
awk '{print $1}' 'ListA-w.txt' | sort -k1 | uniq -c > ListA-w-Counts.txt

Followed by:
join -a 2 -1 1 -2 2  Test-DV-w.txt ; rm TempX-w.txt

The end result is attached; the other files can be generated from the original ListA.txt and ListB.txt Watch out for any other entries with "w" in the name ! Purely IPv4 data are safe, of course.

George Langford

Reply via email to