From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CNDkP-0004fs-K5 for mharc-grub-devel@gnu.org; Thu, 28 Oct 2004 13:07:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNDkN-0004fT-4N for grub-devel@gnu.org; Thu, 28 Oct 2004 13:07:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNDkM-0004f0-CO for grub-devel@gnu.org; Thu, 28 Oct 2004 13:07:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNDkL-0004eo-A7 for grub-devel@gnu.org; Thu, 28 Oct 2004 13:07:34 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNDc7-0008QT-Cd for grub-devel@gnu.org; Thu, 28 Oct 2004 12:59:03 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 043038671 for ; Thu, 28 Oct 2004 18:59:02 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 07957-06 for ; Thu, 28 Oct 2004 18:59:00 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 5C96D84A9 for ; Thu, 28 Oct 2004 18:59:00 +0200 (CEST) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 4D80DC045 for ; Thu, 28 Oct 2004 18:58:59 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <1098283465.417679c90a494@webmail.han.nl> <200410211253.10450.okuji@enbug.org> <20041021112630.GA22854@artax.karlin.mff.cuni.cz> From: Marco Gerards Date: Thu, 28 Oct 2004 18:59:03 +0000 In-Reply-To: <20041021112630.GA22854@artax.karlin.mff.cuni.cz> (Tomas Ebenlendr's message of "Thu, 21 Oct 2004 13:26:30 +0200") Message-ID: <87is8uvfd4.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Subject: Re: device syntax X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 17:07:35 -0000 Tomas Ebenlendr writes: > Hmm, and what if there are quotes, or newlines in name? I think that we > should be able to pass /any/ string to bios/firmware. Question is what > characters we want to escape. If escaped characters will be e.g. quotes, > the need of using this will be very little. If we escape commas, many > names will get horrible. So what about this solution, extended by '\' as > escaping character, using \" for char '"', \\ for '\' and \xxx for > nonprintable or other characters? Escaping is used to remove the meaning of commandline stuff so you can pass it to commands. And the command line parser does this already. I think we should not use escaping *ever* for other reasons. -- Marco