I do not understand what this means. 0a1,4 means
"a" denotes an addition. "d" denotes a deletion. The numbers on the left form a range of line numbers in file1. The numbers on the right form a range of line numbers in file2.
and how to make the output files identical
Some options:
cp file1 file2
cp file2 file1
truncate -s 0 file1 file2
In reply to Re^3: diff command
by ikegami
in thread diff command
by bjohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |