summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-07-12 16:26:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-07-12 16:26:46 +0000
commit1f865250bcd790453b3e18e11efe7565614ccf9b (patch)
tree54414e2dea682b7c748d6b7f7d77cab60c2a7d30 /bin/ksh/ksh.1
parente9c6a804aca79a6a63a2ebb360b96eac517e61c0 (diff)
ksh.1: add ((, )), ]], and `name' to the list of reserved words for compounds
sh.1: add ]] and `name' to the list; additionally document the commands `select' (requested by Ross L Richardson) and [[ ok millert sobrado
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r--bin/ksh/ksh.113
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 5f814e74172..0df0b61b94d 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ksh.1,v 1.134 2010/05/10 21:04:54 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.135 2010/07/12 16:26:45 jmc Exp $
.\"
.\" Public Domain
.\"
-.Dd $Mdocdate: May 10 2010 $
+.Dd $Mdocdate: July 12 2010 $
.Dt KSH 1
.Os
.Sh NAME
@@ -449,10 +449,11 @@ are only recognized if they are unquoted and if they are used as the first
word of a command (i.e. they can't be preceded by parameter assignments or
redirections):
.Bd -literal -offset indent
-case else function then !
-do esac if time [[
-done fi in until {
-elif for select while }
+case esac in until (( }
+do fi name while ))
+done for select ! [[
+elif function then ( ]]
+else if time ) {
.Ed
.Pp
.Sy Note :