summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-03-25 09:52:25 +0000
committerJim Meyering <jim@meyering.net>2002-03-25 09:52:25 +0000
commitd2ed2e78cf26a8cd226efd5b3cc99b76347d2e66 (patch)
treead19adfb73e3fa255bc3311b1ef521b0230d6efd /doc
parentc799d7b979bca96c4cdad32471df236521d76eaa (diff)
downloadcoreutils-d2ed2e78cf26a8cd226efd5b3cc99b76347d2e66.tar.xz
(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.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi4
1 files changed, 2 insertions, 2 deletions
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