News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by stouset on Tuesday October 29, 2024 @07:47AM (#41982893)
Just always quote variable interpolation and you will never have problems.

    sh-3.2$ f='Hello world'
    sh-3.2$ echo "${f}"
    Hello world
    sh-3.2$ for i in "${f}"; do echo "${i}"; done
    Hello world
    sh-3.2$

There are no comments on this comment yet.