Package: dash Version: 0.5.8-2.4 problem: null chars and after are not printed or echoed...
$ printf %b '\eE\00a' | wc -m 2 $ echo -n '\eE\00a' | wc -m 2 current bad work around, includes leaking printf formatting :( $ printf '\eE\00a' | wc -m 4 it does work in bash... # echo -en '\eE\00a' | wc -m 4 # printf %b '\eE\00a' | wc -m 4 # printf '\eE\00a' | wc -m 4 if this is not a bug, and is the supposed (unexpected) behavior, what then would be the correct way of printing nulls? ps: if possible, please notify me upon correction is available in stable.