Then a code llike:
for a in $(cat myAddyList.txt)
do
cat balances-bitcoin | grep $a >> final.txt
done
With this bash script you will generate a file with the addys and balance...
This is extremely inefficient and probably will take quite some time.
The fastest approach would be some sort of a perl script. But since the there aren't too many entries in
bitcoin-balances, a simple grep would be '
ok', i think:
grep -f -F myAddyList.txt balances-bitcoin > final.txt
This already is way faster than your bash script, however it is still far away from being really efficient.