- 论坛徽章:
- 0
|
diff命令怎么用啊!!谢谢!
-c Produce a difference list with 3 lines of context. -c
modifies the output format slightly: the output begins
with identification of the files involved, followed by
their creation dates, then each change separated by a
line containing about twelve asterisks (*)s. Lines
removed from file1 are marked with -, and lines added to
file2 are marked +. Lines that change from one file to
the other are marked in both files with with !. Changes
that lie within 3 lines of each other in the file are
grouped together on output.
-C n Output format similar to -c but with n lines of context. |
|