User Tools

Site Tools


diff

diff

diff -u file1.txt file2.txt > file2.patch  # "-u" is for a unified diff format
patch -l file2.txt file2.patch  # "-l" is to ignore whitespace differences

Diff can ignore whitespaces with “-w”.

diff.txt · Last modified: by reddy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki