digitalmars.com                        
Last update Sun Sep 8 21:42:01 2013

DIFF: Compare Files

diff compares two text files and displays any lines that are different.

diff switches... file1 file2
Diff Switches
Switch Description
-c Show context around differences
-e Set off differences with <<>>
-i[macro] Set off differences with #if macro / #else / #endif
-w Ignore trailing whitespace when comparing lines

Home | Runtime Library | IDDE Reference | STL | Search | Download | Forums