I'm trying to upload multiple hosts files with different blockable entries
(%windir%\system32\drivers\etc\hosts) to a http server, and i want to merge these hosts file into one big hosts file periodically, like say, every 6 hours a day and produce a new file on the same server. My aim in merging these files is to remove duplicate entries and obviously, appending wouldnt work.
Is there any way i can do this with perl ? (or maybe with php, bcz m having second thoughts now )