Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

第 3 章 Comparison, merge and patch utilities

目錄

3.1. comparison, merge
3.2. patch - apply a diff file to an original
3.3. WinMerge
3.4. Beyond Compare Pro

3.1. comparison, merge

sdiff

neo@netkiller:/tmp$ sdiff file1 file2
#!/bin/bash                                                     #!/bin/bash
echo "Helloworld"                                             | echo "Helloword"
echo "Line 1"                                                   echo "Line 1"
		

vimdiff

$ vimdiff file1 file2