summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/dash.112
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d5c51bf..4ea7374 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-25  Gerrit Pape <pape@smarden.org>
+
+	* Clarify description of -nt, -ot options to test builtin.
+
 2007-09-25  Herbert Xu <herbert@gondor.apana.org.au>
 
 	* Do not expand tilde in parameter expansion within quotes.
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