From [diffutils' manual][1] > Next come one or more hunks of diff erences; each hunk shows one area > where the files differ. Unified format hunks look like this: > > @@ from-file-line-numbers to-file-line-numbers @@ > line-from-either-file > line-from-either-file... > > **If a hunk contains just one line**, only its start line number appears. > **Otherwise** its line numbers look like ‘start,count’. An empty hunk is > considered to start at the line that follows the hunk. > > **If a hunk and its context contain two or more lines**, its line numbers > look like ‘start,count’. **Otherwise** only its end line number appears. > An empty hunk is considered to end at the line that precedes the hunk. I couldn't tell the differences between the cases in the last two paragraphs. They seem to talk about the same cases but I suspect they don't. What do they mean? Could you also give some examples to show what they mean? [1]: https://www.gnu.org/software/diffutils/manual/diffutils.html#Detailed-Unified