Comment
Comment by seodisparate
One could use `printf 'first\0second'` in the Bash shell as an example of making a "string" with null embedded into it, but you can't store that in a Bash variable.
I'm not familiar with working with null characters in Bash in this way, but I think there might be a way to do it.