From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Fehlig Subject: Re: [PATCH] docs: document handling of metacharacter escape in xl disk format Date: Thu, 18 Feb 2016 15:44:37 -0700 Message-ID: <56C64955.7000909@suse.com> References: <1455793357-5712-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455793357-5712-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: wei.liu2@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell wrote: > Signed-off-by: Ian Campbell > Cc: Jim Fehlig > --- > docs/misc/xl-disk-configuration.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt > index 6a2118d..a03ad10 100644 > --- a/docs/misc/xl-disk-configuration.txt > +++ b/docs/misc/xl-disk-configuration.txt > @@ -48,6 +48,24 @@ positionally or explicitly). > > Whitespace may appear before each parameter and will be ignored. > > +Metacharacters in a may be escaped using a backslash: > + > + Escape HEX Description > + ------ --- ----------- > + \a 0x07 Bell > + \b 0x08 Backspace > + \t 0x09 Horizontal Tab > + \n 0x0A New Line / Line Feed > + \f 0x0C Form Feed > + \r 0x0D Carriage Return > + \v 0x0B Vertical Tab > + \" 0x22 A literal double quote > + \' 0x27 A literal single quote > + \\ 0x5C A literal backslash > + \xXX Character XX in hexadecimal > + \OOO Character OOO in octal Do you know how any of these would be useful in a diskspec? I guess I'm struggling to understand when a 'Bell' would be needed :-). Regards, Jim