Break the list of parameter expansions into two lists so that
the paragraph introducing the prefix and suffix pattern expansions does not appear as part of the explanation for the string length expansion.
This commit is contained in:
parent
9b33d39fd5
commit
71337c33bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80196
@ -1113,6 +1113,7 @@ of the colon results in a test for a parameter that is only unset.
|
||||
.It Li ${#parameter}
|
||||
String Length. The length in characters of
|
||||
the value of parameter.
|
||||
.El
|
||||
.Pp
|
||||
The following four varieties of parameter expansion provide for substring
|
||||
processing.
|
||||
@ -1129,6 +1130,7 @@ the result of the expansion is unspecified.
|
||||
Enclosing the full parameter expansion string in double-quotes does not
|
||||
cause the following four varieties of pattern characters to be quoted,
|
||||
whereas quoting characters within the braces has this effect.
|
||||
.Bl -tag -width Ds
|
||||
.It Li ${parameter%word}
|
||||
Remove Smallest Suffix Pattern. The word
|
||||
is expanded to produce a pattern. The
|
||||
|
Loading…
Reference in New Issue
Block a user