As bash cannot cope with a byte value of zero inside a variable then this is a workaround.
This code is a DEMO to show how to create a _string_variable_ containing all of the values of 1 to 255 as single characters and 0, (zero), as a two byte character set of \0.
The real binary files are 512... (20 Replies)