diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-07-23 10:18:05 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-07-23 10:18:05 +0000 |
commit | 8eba0410f00f3399829c64ff6d809c5108f31275 (patch) | |
tree | d2ea7e9eaf225da42b8c3cf81cc1c2a177b3eb8c /bin | |
parent | 4b4389dbf6cb720c170eeae596b38bc7cc783b17 (diff) | |
download | FreeBSD-src-8eba0410f00f3399829c64ff6d809c5108f31275.zip FreeBSD-src-8eba0410f00f3399829c64ff6d809c5108f31275.tar.gz |
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.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/sh.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 5ac2d79..0318455 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -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 |