On Mon, Jan 15, 2018 at 02:26:19PM +0800, 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] #
Confirmed (with default IFS; it is importan
On 15.1. 08:26, 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] #
That looks like the same issue as this one from November:
Subject: foo=$*: ^A and DE
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 f