All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Braha <julianbraha@gmail.com>
To: Randy Dunlap <rdunlap@infradead.org>,
	Daniel Syauqi <syauqicode@gmail.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nsc@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] scripts/config: print string values literally with --state
Date: Tue, 1 Dec 2026 18:26:57 +0000	[thread overview]
Message-ID: <fcc0c45a-ce07-4732-9b72-a3f23ca0a874@gmail.com> (raw)
In-Reply-To: <56ae8fbd-b233-4ce4-a5b5-3fa553f8a8bd@infradead.org>


[-- Attachment #1.1: Type: text/plain, Size: 527 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2026-12-01 18:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  7:52 [PATCH 0/2] scripts/config: fix string handling in --set-str and --state Daniel Syauqi
2026-11-30  7:52 ` [PATCH 1/2] scripts/config: preserve ampersands in string values Daniel Syauqi
2026-12-01  7:53   ` sashiko-bot
2026-12-01 18:05   ` Julian Braha
2026-12-01 18:06   ` Julian Braha
2026-12-02  2:01     ` Daniel Syauqi
2026-11-30  7:52 ` [PATCH 2/2] scripts/config: print string values literally with --state Daniel Syauqi
2026-12-01 18:06   ` Julian Braha
2026-12-01 18:12     ` Randy Dunlap
2026-12-01 18:26       ` Julian Braha [this message]
2026-12-02  2:01     ` Daniel Syauqi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fcc0c45a-ce07-4732-9b72-a3f23ca0a874@gmail.com \
    --to=julianbraha@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=syauqicode@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.