From cda8ef6eceac8f14e649f7944e79a7fa5105d00b Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Tue, 14 Mar 2000 20:25:47 +0000 Subject: Better mdoc formatting. --- bin/ksh/ksh.1 | 18 ++++++++++++------ bin/ksh/ksh.1tbl | 18 ++++++++++++------ 2 files changed, 24 insertions(+), 12 deletions(-) (limited to 'bin/ksh') 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 diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl index b12e4e9d9b5..a89f84f0499 100644 --- a/bin/ksh/ksh.1tbl +++ b/bin/ksh/ksh.1tbl @@ -1,4 +1,4 @@ -.\" $OpenBSD: ksh.1tbl,v 1.29 1999/11/20 07:58:02 dugsong Exp $ +.\" $OpenBSD: ksh.1tbl,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 -- cgit v1.2.3