Re: Question to EXTRACT_ONLY

From: Tatsuki Makino <>
Date: Tue, 29 Nov 2022 10:22:02 UTC

Gleb Popov wrote on 2022/11/29 15:47:
> On Tue, Nov 29, 2022 at 12:14 AM Matthias Fechner <> wrote:
>> But what does the last `:` at the end of this string?
> This one is a correct interpretation.
> As for the first one, I'm also unsure about the last ":" Maybe it is a
> part of the :N argument?

I found something about this in function ApplyModifiers in /usr/src/contrib/bmake/var.c.
I can't explain it well, but it seems to me that : is treated merely as a delimiter.
It does not give an error for the last character being : .
If there is a specification that the last character should not be a : , then this is a bug :)
I am not sure about that :)