I'm trying to generate a string of 10
followed by a NULL
(\0
) followed by a 10
.
However echo "10\010"
does not seem to work (I'm guessing it generates two chars - a 10
followed by \010
. I'm not sure how to separate / escape these values / characters?
I've also tried echo "10""/0""10"
which had the same result.
I'm piping this output to a named pipe.
␀
correctly. (-: – JdeBP Aug 29 '18 at 00:09