3 ms·
re: the last few paragraphs, bash strings can't contain NUL either. `$'\0'` isn't distinguishable from `''`. For example `<<< $'\0' xxd` and `<<< '' xxd` both c
by Arnavion 3y ago
re: the last few paragraphs, bash strings can't contain NUL either. `$'\0'` isn't distinguishable from `''`. For example `<<< $'\0' xxd` and `<<< '' xxd` both connect an empty string (plus newline) to xxd's stdin.