1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 15:06:44 +02:00

(File characteristic tests): Document the

behavior of test -nt and -ot when one of the files does not exist,
using the same behavior that is documented in ksh93.
This commit is contained in:
Jim Meyering
2002-03-25 09:52:25 +00:00
parent c799d7b979
commit d2ed2e78cf

View File

@@ -8323,13 +8323,13 @@ True if @var{file} exists and has a size greater than zero.
@opindex -nt
@cindex newer-than file check
True if @var{file1} is newer (according to modification date) than
@var{file2}.
@var{file2}, or if @var{file1} exists and @var{file2} does not.
@item @var{file1} -ot @var{file2}
@opindex -ot
@cindex older-than file check
True if @var{file1} is older (according to modification date) than
@var{file2}.
@var{file2}, or if @var{file2} exists and @var{file1} does not.
@item @var{file1} -ef @var{file2}
@opindex -ef