On Sat, Jan 16, 2016 at 02:28:27PM -0500, Adam Danischewski wrote: > If it is expected behavior I didn't see it in the documents.
I suspect the interpretation of -d '' to mean a NUL byte delimiter may have been an accident originally (but that's a guess). But it's an incredibly useful feature, and has been used in countless real life scripts. At this point, while it is still undocumented, it is nevertheless a feature whose omission would be considered a regression. Others have correctly described the difference between -d'' and -d '' so I won't repeat that, except to say that they are right.