mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00:00
* doc/make.text: Clarify that patsubst doesn't touch unmatched words
This commit is contained in:
parent
7b0a741857
commit
88732a29f2
1 changed files with 4 additions and 3 deletions
|
@ -7144,9 +7144,10 @@ Finds whitespace-separated words in @var{text} that match
|
|||
@var{pattern} may contain a @samp{%} which acts as a wildcard,
|
||||
matching any number of any characters within a word. If
|
||||
@var{replacement} also contains a @samp{%}, the @samp{%} is replaced
|
||||
by the text that matched the @samp{%} in @var{pattern}. Only the first
|
||||
@samp{%} in the @var{pattern} and @var{replacement} is treated this
|
||||
way; any subsequent @samp{%} is unchanged.@refill
|
||||
by the text that matched the @samp{%} in @var{pattern}. Words that do
|
||||
not match the pattern are kept without change in the output. Only the
|
||||
first @samp{%} in the @var{pattern} and @var{replacement} is treated
|
||||
this way; any subsequent @samp{%} is unchanged.@refill
|
||||
|
||||
@cindex @code{%}, quoting in @code{patsubst}
|
||||
@cindex @code{%}, quoting with @code{\} (backslash)
|
||||
|
|
Loading…
Reference in a new issue