Thanks for your tips, a lot learned.
Greg Wooledge 于2022年2月16日周三 20:47写道:
>
> On Wed, Feb 16, 2022 at 04:10:40PM +0800, Daniel Qian wrote:
> > FOO=$(cat /tmp/foo.txt)
> > got_md5=$(echo "$FOO" | md5sum -b | cut -d ' ' -f 1)
>
> In addition to what ot
I'm not familiar with Bash version/release policy, I only found 5.1.8,
5.1.12, 5.1.16 at
download page https://ftp.gnu.org/gnu/bash/
Is this fix included in 5.1.16 version?
Chet Ramey 于2022年2月16日周三 21:59写道:
>
> On 2/16/22 3:10 AM, Daniel Qian wrote:
> > Hi all,
> >
>
ail, compare it
with `foo.txt`,
found that a random byte are inserted into multiple positions.
I created a github repo for this issue, all the scripts are there:
https://github.com/chanjarster/bash-5_1_8_long_var_corrupt
--
Daniel Qian
Apache Committer(chanjarster)
blog:https://chanjarster.githu