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, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to