From: Stefan Hajnoczi <stefanha@gmail.com>
To: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] multiboot: Support quotable commas in module list
Date: Sat, 16 Apr 2011 12:21:42 +0100 [thread overview]
Message-ID: <BANLkTinWMKTWY-92_s-ONV-nQxwaAaeDyw@mail.gmail.com> (raw)
In-Reply-To: <20110416094235.GA4967@os.inf.tu-dresden.de>
On Sat, Apr 16, 2011 at 10:42 AM, Adam Lackorzynski
<adam@os.inf.tu-dresden.de> wrote:
>
> On Fri Apr 15, 2011 at 15:17:28 +0200, Kevin Wolf wrote:
>> Am 15.04.2011 09:56, schrieb Adam Lackorzynski:
>> > Support quoting of ',' (and '\') to allow commas in the parameter list of
>> > modules.
>> >
>> > Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
>>
>> Other options in qemu use double commas for escaping. So maybe reusing
>> get_opt_value() would make things more consistent. It also has the
>> advantage that double commas don't need additional escape characters for
>> the shell.
>>
>> On the other hand, using backslashes for escaping is probably more
>> familiar for most people, so I don't have a very strong opinion on it.
>
> Same for me. I like the fact with the double-commas and easier shell
> quoting. On the other side using backslashes is more common. However, I
> construct the overall command via scripts anyway, so I'll only very
> seldom actually type this myself.
>
> Here's how it would look like. Diff is smaller.
> More opinions very welcome.
I like this more because it is more consistent with QEMU syntax and reuses code.
Stefan
prev parent reply other threads:[~2011-04-16 11:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 7:56 [Qemu-devel] [PATCH] multiboot: Support quotable commas in module list Adam Lackorzynski
2011-04-15 9:09 ` Stefan Hajnoczi
2011-04-15 13:17 ` Kevin Wolf
2011-04-16 9:42 ` Adam Lackorzynski
2011-04-16 11:21 ` Stefan Hajnoczi [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=BANLkTinWMKTWY-92_s-ONV-nQxwaAaeDyw@mail.gmail.com \
--to=stefanha@gmail.com \
--cc=adam@os.inf.tu-dresden.de \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).