diff mbox

dash.1 - correct typos, iff -> if

Message ID 2d74576d-1c28-4f93-e76e-a9b204c854c9@inlv.org (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Martijn Dekker March 29, 2018, 12:18 p.m. UTC
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.

Comments

Herbert Xu April 19, 2018, 10:23 a.m. UTC | #1
Martijn Dekker <martijn@inlv.org> wrote:
> [-- text/plain, encoding 7bit, charset: utf-8, 11 lines --]
> 
> 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.

Patch applied.  Thanks.
diff mbox

Patch

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 ||