bug-bash
[Top][All Lists]
Advanced

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

Re: Long variable value get corrupted sometimes


From: Chet Ramey
Subject: Re: Long variable value get corrupted sometimes
Date: Wed, 16 Feb 2022 08:59:01 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0

On 2/16/22 3:10 AM, Daniel Qian wrote:
> Hi all,
> 
> I encountered a problem that long variable value get corrupted sometimes.
> 
> OS: Alpine linux 3.15.0 (docker container)
> Bash version: GNU bash, version 5.1.8(1)-release (x86_64-alpine-linux-musl)
> 
> Reproduction steps:
> 
> A UTF-8 encoded file containing a lot of Chinese characters, file size ~35K.
> 
> A test script read content from `foo.txt` and assign the content to a 
> variable,
> and then check md5sum for that variable.

https://lists.gnu.org/archive/html/bug-bash/2022-01/msg00009.html


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



reply via email to

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