From: Jim Meyering Date: Mon, 25 Mar 2002 09:52:25 +0000 (+0000) Subject: (File characteristic tests): Document the X-Git-Tag: FILEUTILS-4_1_8~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2ed2e78cf26a8cd226efd5b3cc99b76347d2e66;p=platform%2Fupstream%2Fcoreutils.git (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. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index bd72a4ff5..db8ff0faa 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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