On Tue, Apr 02, 2024 at 08:08:57PM +0000, Linde, Evan wrote:
> In a loop constructed like `... | while read ...`, changes to 
> variables declared outside the loop only have a loop local
> scope, unlike other "while" or "for" loops.

https://mywiki.wooledge.org/BashFAQ/024

Reply via email to