Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs-236:how-to-read-a-diff-file [2016/09/28 21:37]
egm
cs-236:how-to-read-a-diff-file [2016/09/29 15:09] (current)
egm
Line 1: Line 1:
-The web is fill of resources to understanding ​diff files. Here are the two top hits from a simple search:+The web is fill of resources ​that help to understand ​diff files. Here are the two top hits:
 * [http://​www.markusbe.com/​2009/​12/​how-to-read-a-patch-or-diff-and-understand-its-structure-to-apply-it-manually/​ How to read a patch of diff and understand its structure to apply it manually?] * [http://​www.markusbe.com/​2009/​12/​how-to-read-a-patch-or-diff-and-understand-its-structure-to-apply-it-manually/​ How to read a patch of diff and understand its structure to apply it manually?]
 * [http://​unix.stackexchange.com/​questions/​81998/​understanding-of-diff-output Understanding diff output]] * [http://​unix.stackexchange.com/​questions/​81998/​understanding-of-diff-output Understanding diff output]]
 In general, the student output is the left side (<) and the expected output is the right side (>). If unsure, then look at the diff command used as it is included in the diff output. ​ In general, the student output is the left side (<) and the expected output is the right side (>). If unsure, then look at the diff command used as it is included in the diff output. ​
  
-The diff output is ''​not''​ going to enable the student to recreate the input, but it gives insight to tests the student should consider ​to debug the code. Ultimately, it is the student'​s responsibility to test and debug code. +The diff output is ''​not''​ going to enable the student to recreate the input, but it gives insight to tests the student should consider ​in debugging ​the code. Ultimately, it is the student'​s responsibility to test and debug code. 
  
 As a student, be creative and try to break the code. If a student uses the pass-off process as a test driver for debug, then it is going to be a long semester full of a lot of down time waiting for pass-off attempts and a high level of frustration. ​ As a student, be creative and try to break the code. If a student uses the pass-off process as a test driver for debug, then it is going to be a long semester full of a lot of down time waiting for pass-off attempts and a high level of frustration. ​
cs-236/how-to-read-a-diff-file.1475098641.txt.gz ยท Last modified: 2016/09/28 21:37 by egm
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0