[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash: remove the format string "%q" in the unicode3.sub
From: |
Chet Ramey |
Subject: |
Re: bash: remove the format string "%q" in the unicode3.sub |
Date: |
Wed, 10 Aug 2016 07:10:59 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/10/16 2:42 AM, dengke.du@windriver.com wrote:
> Hi chet
>
> Thanks for you help.
>
> 1. This file:
>
>
> http://git.savannah.gnu.org/cgit/bash.git/tree/tests/unicode3.sub?h=devel&id=74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3
>
> When executed to the 3 line:
>
> "$payload"
>
> On my target the output was:
>
> unicode3.sub: line 3: 5�@3�+�S8����: command not found
You don't give any information about your target, but using the devel
version of bash on that file produces output using $'...' quoting on all
the systems I have tested, since the string contains an invalid multibyte
sequence.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/