summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartijn Dekker <martijn@inlv.org>2018-03-29 13:18:49 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-04-19 18:19:29 +0800
commit87a94a4dfa019ad3ef4443801b31079577c37758 (patch)
treee3bd1ad659022ba43ae5ec0bcca28f015055f990
parentexpand: Do not quote backslashes in unquoted parameter expansion (diff)
downloaddash-87a94a4dfa019ad3ef4443801b31079577c37758.tar.gz
dash-87a94a4dfa019ad3ef4443801b31079577c37758.zip
man: correct typos, iff -> if
Op 27-03-18 om 20:23 schreef Larry Hynes:
> Funny, I did wonder if it might be a contraction, but I did find
> it odd that it's not mentioned or explained. I'll leave it be, if
> you all are happy enough to keep it 'as is', or can resubmit if you
> think it's warranted.

I think the simple fact that it came up here is evidence that this is
too jargony for a manual. Patch attached.

- M.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--src/dash.18
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dash.1 b/src/dash.1
index 1056285..c452c3f 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -606,11 +606,11 @@ and
 .Dq ||
 are AND-OR list operators.
 .Dq &&
-executes the first command, and then executes the second command iff the
-exit status of the first command is zero.
+executes the first command, and then executes the second command if and only
+if the exit status of the first command is zero.
 .Dq ||
-is similar, but executes the second command iff the exit status of the first
-command is nonzero.
+is similar, but executes the second command if and only if the exit status
+of the first command is nonzero.
 .Dq &&
 and
 .Dq ||