Date:        Sun, 28 Jun 2020 22:58:52 +0300
    From:        Valery Ushakov <>
    Message-ID:  <>

  | but I'd expect people that actually use IFS with octal digits
  | or a backslash to also understand and know how to add necessary
  | quoting in that case.

You'd think so, right, but ...   and that assumes that the person
writing the printf code (copying the example from the man page) knows
what IFS is, or that it might have been altered.

  | Though perhaps it makes sense to them back for
  | pedagogical purposes.

That, and because it simply is the right way to code in sh 99% of the
time - omitting needed quotes is a major source of bizarre bugs.   When
they're like this, and only trigger in unusual circumstances, they're ever
harder to find.


Reply via email to