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: Alex fxmbsw7 Ratchev
Subject: Re: Long variable value get corrupted sometimes
Date: Wed, 16 Feb 2022 11:22:36 +0100

does the data contain \0 null bytes

On Wed, Feb 16, 2022 at 11:20 AM David <bouncingcats@gmail.com> wrote:

> On Wed, 16 Feb 2022 at 19:38, Daniel Qian <chanjarster@gmail.com> wrote:
>
> > I encountered a problem that long variable value get corrupted sometimes.
>
> > A UTF-8 encoded file containing a lot of Chinese characters, file size
> ~35K.
>
> > FOO=$(cat /tmp/foo.txt)
>
> Hi, this looks like something that was recently fixed, perhaps
> you can try this patch:
>   https://savannah.gnu.org/patch/?10035
>
>


reply via email to

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