summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-03-14 20:25:47 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-03-14 20:25:47 +0000
commitcda8ef6eceac8f14e649f7944e79a7fa5105d00b (patch)
treeb8c729478c4a6a19f134573c4088f5d74aac79d3 /bin/ksh/ksh.1
parent7d4194675a636251c876237d7e8266dd33b37ce0 (diff)
Better mdoc formatting.
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r--bin/ksh/ksh.118
1 files changed, 12 insertions, 6 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index fa2566a8de2..4e843d2e9ff 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.29 1999/11/20 07:58:02 dugsong Exp $
+.\" $OpenBSD: ksh.1,v 1.30 2000/03/14 20:25:46 aaron Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1139,14 +1139,17 @@ is
not specified, or the length of the string value of parameter
.Ar name .
.It Xo Ic ${# Ns Ar name Ns
-.Ic \&[\&*\&]\&} , ${# Ns Ar name Ns Ic \&[\&@\&]\&}
+.Ic [*\&]} , ${# Ns Ar name Ns Ic [@\&]}
.Xc
The number of elements in the array
.Ar name .
.Sm off
.It Xo
-.Ic ${ Ar name Ic \&# Ar pattern Ic \&},\ \&
-.Ic ${ Ar name Ic \&#\&# Ar pattern Ic \&}
+.Ic ${ Ar name Ic # Ar pattern
+.Sm on
+.Ic } ,
+.Sm off
+.Ic ${ Ar name Ic ## Ar pattern Ic \&}
.Xc
.Sm on
If
@@ -1159,8 +1162,11 @@ results in the shortest match, and two
of them result in the longest match.
.Sm off
.It Xo
-.Ic ${ Ar name Ic \&% Ar pattern Ic \&},\ \&
-.Ic ${ Ar name Ic \&%\&% Ar pattern Ic \&}
+.Ic ${ Ar name Ic % Ar pattern
+.Sm on
+.Ic } ,
+.Sm off
+.Ic ${ Ar name Ic %% Ar pattern Ic }
.Xc
.Sm on
Like