Maybe other solutions... Which solution should be the best? RR
When you are sourcing bash script, which contains \0 character, bash
thinks it is end of file.
I have investigated, that `source' loads entire file into memory as
string. Then \0 is end of this string.
One of the possible solution is to left out all \0 characters. This
doesn't seem to be perfect.
Another possible solution is to count size of the file and then compare
the size with actual string parsing.
- Cannot process scripts beyond an embedded NULL character when ... Roman Rakus