summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/ksh.112
-rw-r--r--bin/ksh/ksh.1tbl12
-rw-r--r--bin/ksh/sh.17
-rw-r--r--bin/ksh/sh.1tbl7
4 files changed, 28 insertions, 10 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 20f30d784ac..3815b19e2c1 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.58 2003/09/04 14:21:43 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.59 2003/10/22 19:57:32 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1031,7 +1031,10 @@ Parameter substitutions take the form
.Ic ${ Ns Ar name Ns Ic \&} ,
or
.Sm off
-.Ic ${ Ar name Oo Ar expr Oc Ic \&} ,
+.Xo
+.Ic ${ Ar name Oo Ar expr Oc
+.Ic \&} ,
+.Xc
.Sm on
where
.Ar name
@@ -2473,7 +2476,10 @@ loop
.It
.Ic alias a='for ' i='j'
.It
-.Ic a i in 1 2; do echo i=$i j=$j; done
+.Xo
+.Ic a i in 1 2; do echo i=$i j=$j;
+.Ic done
+.Xc
.El
.Pp
uses parameter
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl
index 2ba31ac7c69..59a336d2170 100644
--- a/bin/ksh/ksh.1tbl
+++ b/bin/ksh/ksh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1tbl,v 1.58 2003/09/04 14:21:43 jmc Exp $
+.\" $OpenBSD: ksh.1tbl,v 1.59 2003/10/22 19:57:32 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1031,7 +1031,10 @@ Parameter substitutions take the form
.Ic ${ Ns Ar name Ns Ic \&} ,
or
.Sm off
-.Ic ${ Ar name Oo Ar expr Oc Ic \&} ,
+.Xo
+.Ic ${ Ar name Oo Ar expr Oc
+.Ic \&} ,
+.Xc
.Sm on
where
.Ar name
@@ -2473,7 +2476,10 @@ loop
.It
.Ic alias a='for ' i='j'
.It
-.Ic a i in 1 2; do echo i=$i j=$j; done
+.Xo
+.Ic a i in 1 2; do echo i=$i j=$j;
+.Ic done
+.Xc
.El
.Pp
uses parameter
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index 845481e4793..388863199bd 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.36 2003/09/04 14:21:43 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.37 2003/10/22 19:57:32 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -2069,7 +2069,10 @@ loop
.It
.Ic alias a='for ' i='j'
.It
-.Ic a i in 1 2; do echo i=$i j=$j; done
+.Xo
+.Ic a i in 1 2; do echo i=$i j=$j;
+.Ic done
+.Xc
.El
.Pp
uses parameter
diff --git a/bin/ksh/sh.1tbl b/bin/ksh/sh.1tbl
index dd3052476b8..890a7de8972 100644
--- a/bin/ksh/sh.1tbl
+++ b/bin/ksh/sh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1tbl,v 1.36 2003/09/04 14:21:43 jmc Exp $
+.\" $OpenBSD: sh.1tbl,v 1.37 2003/10/22 19:57:32 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -2069,7 +2069,10 @@ loop
.It
.Ic alias a='for ' i='j'
.It
-.Ic a i in 1 2; do echo i=$i j=$j; done
+.Xo
+.Ic a i in 1 2; do echo i=$i j=$j;
+.Ic done
+.Xc
.El
.Pp
uses parameter