bug-bash
[Top][All Lists]
Advanced

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

Re: address@hidden expansion includes 0x01 and 0x02


From: Chet Ramey
Subject: Re: address@hidden expansion includes 0x01 and 0x02
Date: Tue, 10 Nov 2015 08:56:09 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/9/15 7:53 PM, Dennis Williamson wrote:

> 
> With editing off, I find that I must delimit variables with braces. Without
> the braces, only the second escape sequence is output. The \] isn't
> terminating the variable name when editing is off.

When line editing isn't enabled, the \[ and \] escapes have no meaning,
so they're removed.  In the example you give, removing them results in
the variable name including `Hello'.  If this is a problem for your prompt,
you should delimit variable names with braces.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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