grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: device syntax


From: Marco Gerards
Subject: Re: device syntax
Date: Thu, 28 Oct 2004 18:59:03 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Tomas Ebenlendr <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]