[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug concatenating member of large array with string
From: |
Andreas Schwab |
Subject: |
Re: Bug concatenating member of large array with string |
Date: |
Tue, 10 Aug 2021 16:46:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
On Aug 10 2021, Joe Pater wrote:
> The attached bash script (named 'test'), when run on my laptop,
> produces the following output:
>
> xyzerg
That's because the value of ${words[0]} ends with a CR. You can see
that if you pipe the output to `cat -A'.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."