diff options
Diffstat (limited to 'bin/ksh/ksh.1tbl')
-rw-r--r-- | bin/ksh/ksh.1tbl | 18 |
1 files changed, 12 insertions, 6 deletions
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 |