On Thu, Mar 9, 2017, at 02:05 AM, Peter Stephenson wrote: > I've turned the file text into printable characters like this. (...) > + foo=$'\x06ZUI\x1f text-field example: > \x1azuitfieldtfield1_1\x1a\'\'\x1a\'\'\x1a1\x1aZUI\[my_tfield1_width\]\x1aZUI\[my_tfield1_start\]\x1aZUI\[my_tfield1_data\]\x1c' Checked with echo -E and print -r that \\[ is also needed, otherwise the same -- Sebastian Gniazdowski psprint3@fastmail.com