Based on pjh's comment to another answer to this question, replacing IFS
with a variable known to contain no non-whitespace characters.
comment=
who ${comment# This is the command} \
-u ${comment# This is the argument}
Why aren't the parameter expansions quoted? The variable is initialized with an empty string. When the parameter expansion occurs, the #
operator (unrelated to the shell comment character #
, but used for the similarity) attempts to strip the actual comment from the parameter value. The result, of course, is still an empty string.
An unquoted parameter expansion undergoes word-splitting and pathname generation. In this case, neither process creates any additional words from an empty string, so the result is still an empty string. Such an empty string is simply discarded without affecting the command in which it appears. The above is precisely equivalent to
who \
-u