Please try:
bash -c "printf '\u2744'"
bash -c "echo -e '\u2744'"
And so:
sh -c "printf '\u2744'"
sh -c "echo -e '\u2744'"
Why in /bin/bash
I can get that unicode character but not in /bin/sh
? How to print a unicode characer (for example ❄
) in /bin/sh
?