On Sun, Dec 08, 2024 at 10:27:33 +0200, Yuri Kanivetsky wrote:
> $ bash -c 'IFS=x; a=ax; f() { for arg; do echo "($arg)"; done; }; f $a'
> (a)

Another responder has already given an explanation, but just for
redundancy: <https://mywiki.wooledge.org/BashPitfalls#pf47>

The good news is that there's a workaround.  The bad news is that
you have to remember to use it every time.

Reply via email to