Tady by mel byt zaklad
http://programujte.com/…iff-pro-win/
$command = "UnxUtils\\usr\\local\\wbin\\diff.exe -U0 $file1_name $file2_name"; // win diff (UnxUtils.zip) - seznam zmen smazano, pridano
$output = array();
$status = 0;
exec($command, $output, $status);
var_dump('command',$command);
var_dump('output',$output);
var_dump('status',$status);
// takhle nejak to pak vypada
"--- ./data_old/zas_20170526091704.csv Mon Feb 26 15:12:22 2018"
"+++ ./data/zas.csv Wed May 17 14:18:26 2017"
"@@ -12 +12 @@"
"-1;peter test zmena;Gia/b;;;;free;;;;501;;;;;;;;;"
"+1;sw120 - Cisco Catalyst 4506;Gia/b;;;;free;;;;501;;;;;;;;;"
"@@ -22 +22 @@"
"-1;sw120 - Cisco Catalyst 4506;Gic/d;;;;free;;;peter-test-zmena2;501;;;;;;;;;"
"+1;sw120 - Cisco Catalyst 4506;Gic/d;;;;free;;;;501;;;;;;;;;"