Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCyuv-0006aV-DM for qemu-devel@nongnu.org; Thu, 10 Jan 2008 10:02:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCyuu-0006ZQ-MJ for qemu-devel@nongnu.org; Thu, 10 Jan 2008 10:02:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCyuu-0006ZJ-HB for qemu-devel@nongnu.org; Thu, 10 Jan 2008 10:02:00 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCyut-00031F-Nx for qemu-devel@nongnu.org; Thu, 10 Jan 2008 10:02:00 -0500 Subject: Re: [Qemu-devel] Fix double backslash problem in Windows From: Laurent Vivier In-Reply-To: <759640945.20080110151805@ena.si> References: <1199871092.4337.4.camel@frecb07144> <1199873069.4337.20.camel@frecb07144> <1199880481.4337.31.camel@frecb07144> <1199883098.4337.42.camel@frecb07144> <1199957735.4773.22.camel@frecb07144> <1199967143.4773.38.camel@frecb07144> <47861E01.6050709@qumranet.com> <1199973508.4773.69.camel@frecb07144> <759640945.20080110151805@ena.si> Date: Thu, 10 Jan 2008 16:02:27 +0100 Message-Id: <1199977347.4773.81.camel@frecb07144> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PIxhBx+VAR2RldxZsBW4" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jernej =?UTF-8?Q?Simon=C4=8Di=C4=8D?= --=-PIxhBx+VAR2RldxZsBW4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le jeudi 10 janvier 2008 =C3=A0 15:18 +0100, Jernej Simon=C4=8Di=C4=8D a = =C3=A9crit : > On Thursday, January 10, 2008, 14:58:28, Laurent Vivier wrote: >=20 > > Do you like '^' ? >=20 > Bad idea - this is the escape character in Windows shell :) Perhaps this should work: - option name must end with '=3D' - option value must end with ',' or '\0' (allows '=3D' in filename) - if option name must have ',', we double it (allows ',' in filename) - ' ', '\' and '"' are not separators at this level and are managed at shell level Examples: qemu -drive file=3Dmy=3Dfile,if=3Dscsi -> filename is "my=3Dfile" qemu -drive file=3Dmy,,if=3Dide,if=3Dscsi -> filname is "my,if=3Dide" Laurent --=20 ----------------- Laurent.Vivier@bull.net ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry --=-PIxhBx+VAR2RldxZsBW4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHhjOD9Kffa9pFVzwRAt5jAJ4iHEEFKHV0FrcDrVnniAsagfoncQCgwBdK FKtQXHf+1QcPbM6PzTEgj+Y= =nVIW -----END PGP SIGNATURE----- --=-PIxhBx+VAR2RldxZsBW4--