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 5:22 PM, RVP <rvp%SDF.ORG@localhost> wrote:
>
> On Tue, 5 Jul 2022, Brook Milligan wrote:
>
>> I think you are saying that the “word separator” (i.e., defined by :ts) does not “break” words.
>>
>
> It will if the separator char. is a white-space. I don't think any other
> char. will cause splitting. Ie. OFS != FS.
OK, I suppose that makes sense, although OFS and FS are awk terms not referenced in bmake(1).
If that distinction holds, though, is :ts used for accessing fields within the value of a variable via :range, :@@@, :[], etc., but not to change the expansion? If so, I think I am finally understanding a bit.
Thanks.
Cheers,
Brook
Home |
Main Index |
Thread Index |
Old Index