I have a XML file i need to write a script for. The script needs to search the entire XML file and gather the total basic record count. Then divide that number by 3 and output it into 3 seperate files. I have been able to gather the total count. the math. (OH also includes the header, signature and trailer) which i've managed to figure that out also.
I need to write a script to compare the count of two csv files each having 5 columns.
Everyday a csv file is recived.
Now we need to compare the count of todays csv file with yesterday's csv file and if the total count of records is same in todays csv file and yesterday csv file out will be all good else it should display the difference of the counts.
For eg:1-jan-2013 CSV file has 200