built-in printf doesn't expand hex sequences
Why not use the portable octal escapes?
$ printf "\146\145\n" fe
Yash does support echo -ne too. Maybe you forgot to enable it.
$ ECHO_STYLE=GNU $ echo -ne '\0146\0145\n' fe
Why not use the portable octal escapes?
because that'd require converting all hex stuff (e.g. taken from hexeditor) first into octal, and rewriting a lot of stuff like https://github.com/sabotage-linux/sabotage/blob/master/KEEP/alarmclock ...
ECHO_STYLE=GNU
ah thanks, good to know. still, no hex :/
yash:
busybox sh and bash:
this is somewhat of a bummer as now i can't pass anything outside ascii space as commandline parameters to apps (as yash doesn't implement echo -ne either)