Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Merge the difference between two files and save it on the first file. Also update the first file with info in second file.

by Shariq (Initiate)
on Oct 11, 2013 at 03:37 UTC ( [id://1057811]=note: print w/replies, xml ) Need Help??


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 :)
  • Comment on Re^2: Merge the difference between two files and save it on the first file. Also update the first file with info in second file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1057811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found