|
Associate Sites:
|
|
|
File Comparison with Dired
Here are two Dired commands that compare specified files using
diff.
- =
- Compare the current file (the file at point) with another file (the file
at the mark) using the
diff program (dired-diff). The
file at the mark is the first argument of diff, and the file at
point is the second argument. Use C-<SPC>
(set-mark-command) to set the mark at the first file's line
(see Setting Mark), since dired-diff ignores the files marked
with the Dired's m command.
- M-=
- Compare the current file with its latest backup file
(
dired-backup-diff). If the current file is itself a backup,
compare it with the file it is a backup of; this way, you can compare
a file with any backup version of your choice.
The backup file is the first file given to diff.
|
|
|
|
|
|
Disclaimers: This
documentation is provided for the benefits of Active-Venture.com website hosting customers only. |
|
|
|
Quotes: You are . . . the lens in the beam. You can only receive, give, and possess the light as the lens does.The more faithfully you listen to the voices within you, the better you will hear what is sounding outside.Never measure the height of a mountain until you reach the top. Then you will see how low it was.Never look down to test the ground before taking your next step; only he who keeps his eye fixed on the far horizon will find the right road.Life only demands from you the strength you possess. Only one feat is possible--not to have run away.It is more noble to give yourself completely to one individual than to labor diligently for the salvation of the masses.
|
|
|
|
|