bug-bash
[Top][All Lists]
Advanced

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

Re: set and type garbles functions that set v=$'\001'


From: Chet Ramey
Subject: Re: set and type garbles functions that set v=$'\001'
Date: Fri, 25 May 2007 22:08:12 -0400
User-agent: Thunderbird 2.0.0.0 (Macintosh/20070326)

Bo Ørsted Andresen wrote:

> Bash Version: 3.2
> Patch Level: 15
> Release Status: release
> 
> Description:
>     If a function f set a variable v to $'\001' then type f or set
>     add a second \001 in it's output. Hence v becomes $'\001\001'.
>     You'll need to use a hex viewer (in the example xxd) to see it.

Thanks for the report.  It's a problem of converting from an internal to
external form.  It will be fixed in the next bash release.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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