I need to apply some code changes to a source code file I don't have access to. I write code but rely on someone else to test it for me because my old computer has trouble with VMs. Most of the changes are fixing small syntax errors, but I think there were some code instertions, some newlines, etc. I've never used diff in this way before. And I've never used patch ever. Is this possible?

Member Avatar
Member Avatar
+0 forum 4

Hi Everyone, Thank you ahead of time for taking a look... Basically, the tables, rows, name and id tags below shown are pulled through by using PHP/cURL (code not shown for sake of realty). Generally, what I am looking to accomplish, is to use JavaScript to loop and parse through each of the two known values (also pulled through PHP/cURL) "dateset1" and "dateset2" input fields and then have the day span difference results show in "age" input field. Obviously, I can only retrieve the values and show results from the first instance because of not having a unique id or …

Member Avatar
Member Avatar
+0 forum 1

hello, Im new to PERL and I'm writing some code to compare two files lines: file 1 gets random password from a server file 2 is a test case to check that I'm getting the password with the required characteristics ( length, alnum or num) the problem that I have is in the case that the password generated by the server supouse to be numeric and the password in my test case have a char but, it doesnt throw the error message. anyways here is some code: for that specific section elsif (($tact_line =~ m/[0-9]^\w/)&($texp_line =~ m/\w/)){ print "\nnumeric password …

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I'm sure that this would be an easy thing to do, but i'm away from c# for quite a long time. I need to compare two dates (only dd-MM-yyyy format) and show the result, but this result must be really accurate, meaning that it must make the calculation based on the number of days that each month has. Has anyone got an idea for it? I'm doing it in a WPF (C#) application. Cheers

Member Avatar
Member Avatar
+0 forum 1

Hi i want to grep for two different patterns in the same file and diff the results(without needing to store them) I amnot able to get diff to accept the output of the two greps as arguments. Any help? Thanks for your time.

Member Avatar
Member Avatar
+0 forum 1

Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong. What actually happens behind the scenes is that I have the correct text file on the server and then I simply compare the submitted text file line by line against it. The problem now is that files submitted from Windows OS are marked as incorrect though when opening the file in a text editor and comparing to the file on the server they are similar. I have also …

Member Avatar
Member Avatar
+0 forum 4

The End.