[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stop octet storm in --debug (UTF-8)
From: |
Assaf Gordon |
Subject: |
Re: stop octet storm in --debug (UTF-8) |
Date: |
Sat, 29 Jun 2019 01:46:58 -0600 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
Hello,
On Mon, Jun 17, 2019 at 06:15:11AM +0900, Hideo Haga wrote:
[...]
> $ printf 'a\u03A3b' | sed --debug 's/./X/g'
> SED PROGRAM:
> s/./X/g
> INPUT: 'STDIN' line 1
> PATTERN: a\o37777777716\o37777777643b
>
[...]
>
> and Big ambition, all unicod-er want hex rather than octet.
> because all most uni-code list by hex.
>
Thank you for the report and the fix.
I suggest the following patch (in your name).
If there are no further comments, I'll push this in few days.
regards,
- assaf
0001-sed-debug-print-non-printable-octets-as-hex.patch
Description: Text document