diff options
author | Gerrit Pape <pape@smarden.org> | 2007-09-25 22:46:55 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-09-25 22:46:55 +0800 |
commit | ac0e303c3dd179941efde7af52c1a829dc01c419 (patch) | |
tree | 67fbe257b8f3fb98aa1934b4b7789132692ad784 /src | |
parent | [EXPAND] Move parse-time quote flag detection to run-time (diff) | |
download | dash-ac0e303c3dd179941efde7af52c1a829dc01c419.tar.gz dash-ac0e303c3dd179941efde7af52c1a829dc01c419.zip |
[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
Diffstat (limited to 'src')
-rw-r--r-- | src/dash.1 | 12 |
1 files changed, 10 insertions, 2 deletions
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 |