* doc/autoconf.texi: Some about diff and cmp.

This commit is contained in:
Akim Demaille 2001-01-22 08:59:14 +00:00
parent a606e651c9
commit abad4f0576
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-01-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Some about diff and cmp.
2001-01-22 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_ESCAPE): New.

View File

@ -6078,6 +6078,16 @@ Don't rely on any option. The option @option{-v}, which shows
non printing characters, @emph{seems} portable though.
@item @command{cmp}
@c ----------------
@cindex @command{cmp}
@command{cmp} performs a raw data comparison of two files, while
@command{diff} compares two text files. Therefore, if you might compare
DOS files, even if only checking whether two files are different, use
@command{diff} to avoid spurious differences due to differences of
newline encoding.
@item @command{cp}
@c ---------------
@cindex @command{cp}
@ -6097,6 +6107,14 @@ newer systems, @code{rename}).
@c without -r???
@item @command{diff}
@c -----------------
@cindex @command{diff}
Option @option{-u} is nonportable.
Some implementations, such as Tru64's, fail when comparing to
@file{/dev/null}. Use an empty file instead.
@item @command{dirname}
@c --------------------
@cindex @command{dirname}