Hi Greg!
> > Nevertheless, am I right that this solution relies on an undocumented
> > feature?
>
> Which "undocumented" feature did you have in mind? Most things are
> documented, somewhere.
>
> Are you thinking of -d '' signifying NUL as the delimiter? Chet told
> us that he supports this "happy accident" and won't take it away.
>
> Are you thinking of the equivalence of "$array" and "${array[0]}"? I
> think that's documented somewhere, but I'm not going to dig for it right
> now.
Before reading the source I would never have thought that read sets variables
although it returns FAILURE.
Best regards
Martin