Re: [PATCH 2/2] scripts/config: print string values literally with --state

From: Julian Braha

Date: Tue Dec 01 2026 - 13:27:06 EST


On 12/1/26 18:12, Randy Dunlap wrote:
>
> On 12/1/26 10:06 AM, Julian Braha wrote:
>> On 11/30/26 07:52, Daniel Syauqi wrote:
>>> With CONFIG_LOCALVERSION="-n", querying --state LOCALVERSION exits
>> Again, this example is quite contrived.
> Only because "-n" is short. :)
> More realistic would be:
> -next-20261201
No your example wouldn't work here ;)

echo won't process any of "-next" as flags, because it contains non-flag
character 'x' after the 'n' and 'e' (those two could be flags).

- Julian Braha

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature