diff options
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/ksh.1 | 11 | ||||
-rw-r--r-- | bin/ksh/sh.1 | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 645c9a5d52c..cdfdf4253c9 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.146 2013/03/18 11:10:52 mpi Exp $ +.\" $OpenBSD: ksh.1,v 1.147 2013/06/13 19:43:09 millert Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: March 18 2013 $ +.Dd $Mdocdate: June 13 2013 $ .Dt KSH 1 .Os .Sh NAME @@ -3611,11 +3611,14 @@ explicitly tested by a shell construct such as .Ic if , .Ic until , .Ic while , -.Ic && , -.Ic || , or .Ic !\& statements. +For +.Ic && +or +.Ic || , +only the status of the last command is tested. .It Fl f \*(Ba Ic noglob Do not expand file name patterns. .It Fl h \*(Ba Ic trackall diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index 5d4598f3ad8..2c7c82a1071 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: sh.1,v 1.93 2013/01/17 21:20:25 jmc Exp $ +.\" $OpenBSD: sh.1,v 1.94 2013/06/13 19:43:09 millert Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: January 17 2013 $ +.Dd $Mdocdate: June 13 2013 $ .Dt SH 1 .Os .Sh NAME @@ -2917,11 +2917,14 @@ explicitly tested by a shell construct such as .Ic if , .Ic until , .Ic while , -.Ic && , -.Ic || , or .Ic !\& statements. +For +.Ic && +or +.Ic || , +only the status of the last command is tested. .It Fl f \*(Ba Ic noglob Do not expand file name patterns. .It Fl h \*(Ba Ic trackall |