NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bmake variable expansion: ${X:ts:}
On Tue, 5 Jul 2022, Brook Milligan wrote:
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?
I think :ts is analogous to how the ORS var. is used in awk:
---
$ cat Makefile
X= a b c
all:
@echo ${X:ts:}
$ bmake
a:b:c
$
---
Ie. uses a different char. as word-separator on expansion. Words are still
only broken only on WS, I think.
-RVP
Home |
Main Index |
Thread Index |
Old Index