[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interesting bug
From: |
Andreas Schwab |
Subject: |
Re: Interesting bug |
Date: |
Sat, 12 Feb 2022 20:14:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
On Feb 12 2022, David Hobach wrote:
> Yes, the interesting part is that depending on which space you accidentally
> forget, you'll either get the expected "Finished" or "bad code executed".
> foo="$(testCode)" || {echo "foo"; } # --> bad code
> foo="$(testCode)" || { echo "foo";} # --> Finished
There is no forgotten space in the latter line.
--
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."
- Interesting bug, David Hobach, 2022/02/12
- Re: Interesting bug, Martin Schulte, 2022/02/12
- Re: Interesting bug, David Hobach, 2022/02/12
- Re: Interesting bug, David Hobach, 2022/02/12
- Re: Interesting bug,
Andreas Schwab <=
- Re: Interesting bug, Martin Schulte, 2022/02/12
- Re: Interesting bug, Ilkka Virta, 2022/02/12
- Re: Interesting bug, David Hobach, 2022/02/12
- Re: Interesting bug, Chet Ramey, 2022/02/13
- Re: Interesting bug, Chet Ramey, 2022/02/13
Re: Interesting bug, Léa Gris, 2022/02/12