NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bmake variable expansion: ${X:ts:}
> On Jul 5, 2022, at 2:03 PM, RVP <rvp%SDF.ORG@localhost> wrote:
>
> :ts won't produce new words without a whitespace there.
OK, so what does the following from bmake(1) mean?
:tsc
Words in the variable are normally separated by a space on expan-
sion. This modifier sets the separator to the character c. If c is
omitted, then no separator is used. The common escapes (including
octal numeric codes), work as expected.
If :ts will not break a variable into a new set of words based upon the separator, what does it do? What is it for?
> This do the job?
Yes. Manually adding whitespace and then breaking on whitespace will work. That seems like extra complications to accomplish what it sounds like :ts is supposed to do.
What am I missing?
Cheers,
Brook
Home |
Main Index |
Thread Index |
Old Index