diff options
author | Jim Meyering <jim@meyering.net> | 2002-03-25 09:52:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-03-25 09:52:25 +0000 |
commit | d2ed2e78cf26a8cd226efd5b3cc99b76347d2e66 (patch) | |
tree | ad19adfb73e3fa255bc3311b1ef521b0230d6efd /doc | |
parent | c799d7b979bca96c4cdad32471df236521d76eaa (diff) | |
download | coreutils-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.texi | 4 |
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 |