A webservice running on multiple servers. A patch has been deployed to them and it got successful o

A webservice running on multiple servers. A patch has been deployed to them and it got successful only in some set of servers. The change is in format of "logontime" from "dd.mm.yyyy hh24:mi:ss" to "dd/mm/yyyy hh24:mi:ss". A script has already generated the output from all servers with request and response. Please refer to the Sample Input for the report.

Your task is to write a script to find which servers are still serving the response of logontime in "dd.mm.yyyy hh24:mi:ss" format. Use any scripting/programming language you wish.

Sample Input

Server,DeploymentId,Request,Response
192.1.20.2,31232,getCustomerLogon,<Details><customer id=124><usertime>24.07.2016 01:52:53</usertime><logontime day="no" id="l">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.3,31234,getCustomerLogon,<Details><customer id=124><logontime id="l" day="yes">24/07/2016 06:54:53</logontime><access>1</access><usertime>24.07.2016 01:52:53</usertime></customer></Details>
192.1.20.4,31242,getCustomerLogon,<Details><customer id=124><usertime>25.07.2016 01:05:23</usertime><logontime id="l4">24.07.2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.5,31251,getCustomerLogon,<Details><customer id=124><logontime id="l">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.6,31249,getCustomerLogon,<Details><customer id=124><usertime>24/07/2016 01:52:53</usertime><logontime id="l2">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.7,31221,getCustomerLogon,<Details><customer id=124><usertime>24.07.2016 01:52:53</usertime><logontime id="l1">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.8,31239,getCustomerLogon,<Details><customer id=124><usertime>24/07/2016 01:52:53</usertime><logontime>24.07.2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.9,31243,getCustomerLogon,<Details><customer id=124><usertime>24.07.2016 01:52:53</usertime><logontime id="l0">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>
192.1.20.10,31250,getCustomerLogon,<Details><customer id=124><logontime id="l1" day="yes"=>24.07.2016 06:54:53</logontime><usertime>24/07/2016 01:52:53</usertime><access>1</access></customer></Details>
192.1.20.11,31244,getCustomerLogon,<Details><customer id=124><usertime>24/07/2016 01:52:53</usertime><logontime day="no" id="l1">24/07/2016 06:54:53</logontime><access>1</access></customer></Details>

Sample Output

Server,DeploymentId
192.1.20.4,31242
192.1.20.8,31239
192.1.20.10,31250

Hi,

If this is a homework/coursework exercise (and I'm guessing it must be, as it sounds pretty much like you've copied a set question word-for-word here), then the forum has some very specific rules about that. You can get help, but only if you post in the dedicated "Homework & Coursework Questions" sub-forum, and if you adhere to the guidelines here:

http://www.unix.com/homework-and-coursework-questions/113751-rules-homework-coursework-questions-forum.html

If you re-post in the correct forum, with all necessary information, and with the template filled out, then you may find someone to help you.

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.