From ac0e303c3dd179941efde7af52c1a829dc01c419 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Tue, 25 Sep 2007 22:46:55 +0800 Subject: [MAN] Clarify description of -nt, -ot options to test builtin Have the man page explicitely state how the test builtin behaves on -nt and -ot options if file2 does not exist. The case where file1 does not exist was already documented properly. This was noticed by Sven Mueller and reported through http://bugs.debian.org/373611 --- src/dash.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dash.1 b/src/dash.1 index 00f40bd..3aefe21 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -1934,12 +1934,20 @@ exists and is a socket. .It Ar file1 Fl nt Ar file2 True if .Ar file1 -exists and is newer than +and +.Ar file2 +exist and +.Ar file1 +is newer than .Ar file2 . .It Ar file1 Fl ot Ar file2 True if .Ar file1 -exists and is older than +and +.Ar file2 +exist and +.Ar file1 +is older than .Ar file2 . .It Ar file1 Fl ef Ar file2 True if -- cgit 1.4.1