in reply to Re: Merge the difference between two files and save it on the first file. Also update the first file with info in second file. in thread Merge the difference between two files and save it on the first file. Also update the first file with info in second file.
Actually it is an interesting exercise. What I need this is for remotely configuring my WiFi access points that runs with hostapd. So hostapd has a configuration file called hostapd.conf.
what I want is to send only the modifications in the conf file over a perl socket. I am able to do that already. But now I need to process the downloaded file and merge into the existing conf file and then reboot the AP.
I am new to perl so i am stuck for the time being :)
|