[Top][All Lists]

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

Re: Bug concatenating member of large array with string

From: Oğuz
Subject: Re: Bug concatenating member of large array with string
Date: Tue, 10 Aug 2021 17:11:44 +0300

10 Ağustos 2021 Salı tarihinde Joe Pater <joe@jpater.com> yazdı:

> The attached bash script (named 'test'), when run on my laptop,
> produces the following output:
> xyzerg
> Instead of the expected:
> Aabergxyz
> I don't think this error occurs on my PC (I can't test it at the
> moment as I am away), but it happens consistently on my laptop.
> uname -a:
> Linux localhost.localdomain 5.13.7-200.fc34.x86_64 #1 SMP Sat Jul 31
> 14:10:16 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> bash --version:
> GNU bash, version 5.1.0(1)-release (x86_64-redhat-linux-gnu)
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.
> html>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> (Note: I tried to do a bisection, and the error was still persistent
> in version 4.4. I gave up going further back due to compiler errors)
Both files have DOS line endings.


reply via email to

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