digitalmars.com                        
Last update Thu Aug 11 02:03:08 2011

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