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 c...@case.edu http://tiswww.cwru.edu/~chet/