Re: [Libguestfs] [PATCH v2 1/2] daemon: add split_key_value_strings helper

Richard W.M. Jones
2017-10-16T16:43:40Z

On Mon, Oct 16, 2017 at 06:29:08PM +0200, Pino Toscano
wrote:
> Yes, this is what patch #2 already does, in parse_os_release:
>
> +     let values = split_key_value_strings ~unquote:shell_unquote lines in
>
> simple_unquote is used for parse_lsb_release: I could not find any
> standard documentation for its format, and the examples I have have
> either no quoting, or double quoting.

Oh right, sorry I missed that.  I've ACKed the v3 version.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.