bug-bash
[Top][All Lists]
Advanced

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

Re: set $'\001'; v=$* converted $'\001' to $'\001\001'


From: Chet Ramey
Subject: Re: set $'\001'; v=$* converted $'\001' to $'\001\001'
Date: Mon, 15 Jan 2018 10:44:27 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/15/18 1:26 AM, Clark Wang wrote:
> See following example:
> 
> [STEP 100] # echo $BASH_VERSION
> 4.4.12(4)-release
> [STEP 101] # set -- $'\001'
> [STEP 102] # v=$*
> [STEP 103] # printf '%q\n' "$v"
> $'\001\001'
> [STEP 104] #

Thanks for the report. This was fixed last month after a report from back
in November. The fix is in the devel branch.

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



reply via email to

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