From: Marek Vasut <marek.vasut@mailbox.org>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>,
Tom Rini <trini@konsulko.com>
Cc: Massimiliano Minella <massimiliano.minella@se.com>,
Simon Glass <sjg@chromium.org>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH 1/1] cmd/setexpr: support concatenation of direct strings
Date: Sat, 21 Dec 2024 21:07:55 +0100 [thread overview]
Message-ID: <2d52a656-2188-4a0e-bd9f-e4154631ae71@mailbox.org> (raw)
In-Reply-To: <20241221151435.43825-1-heinrich.schuchardt@canonical.com>
On 12/21/24 4:14 PM, Heinrich Schuchardt wrote:
> Up to now the setexpr command only supported concatenating string provided
> by reference. Allow directly passing stings.
>
> With this patch
>
> setexpr.s foo '1' + '3'
>
> sets variable $foo to the value '13'.
How is this any different from
setenv foo 13
or
setenv foo ${var1}${var2}
?
prev parent reply other threads:[~2024-12-21 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 15:14 [PATCH 1/1] cmd/setexpr: support concatenation of direct strings Heinrich Schuchardt
2024-12-21 20:07 ` Marek Vasut [this message]
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=2d52a656-2188-4a0e-bd9f-e4154631ae71@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=heinrich.schuchardt@canonical.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=massimiliano.minella@se.com \
--cc=mkorpershoek@baylibre.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox