linux - Can someone identify this unix command? -


at university, output our submitted code being compared correct output using (i think) unix command. problem don't know or means (i don't think it's diff)

rivers  passed stage width  10 rivers  failed stage b width  10 --- rivers.expf 2013-04-25 18:15:49.093265000 +1000 +++ rivers.outf 2013-04-25 18:15:49.082424000 +1000 @@ -22,4 +22,3 @@  beyond  fixing.  - 

i've got above output. imagine --- refers 1 file, while +++ refers other, , 22, 4 line number, minus sign @ end mean? ("beyond fixing" in last lines of input file)

the output showing "unified diff": http://en.wikipedia.org/wiki/diff#unified_format

it can generated diff -u many programs can generate kind of output.

the minus sign @ end indicates file missing newline compared reference file.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -