What's the meaning of zsh's default IFS=$' \t\n\C-@'
, the \C-@
part
\C-@
denotes null character here. This string inside $'…'
expands to the actual null character.
Zsh supports null characters in strings. Some other shells don't, so trying to put the null character in their IFS
doesn't make sense. Compare this answer.
In addition other shells may not expand \C-
sequences inside $'…'
or may not support $'…'
at all (see this question).
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments