Skip to content

Commit

Permalink
fix(Bash microkernel): Use printf
Browse files Browse the repository at this point in the history
Hopefully with `printf` we don't get the "stream did not contain valid UTF-8" error message on CI.
  • Loading branch information
nokome committed Dec 6, 2021
1 parent 3d7ea36 commit bd0882b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/kernel-bash/src/bash-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ do
eval "$unescaped"
# To support versions of Bash below v4.2, we use
# the hexadecimal representation of \U10ACDC
echo -e "\xf4\x8a\xb3\x9c" | tee /dev/stderr
printf "\xf4\x8a\xb3\x9c\n" | tee /dev/stderr
done < "${1:-/dev/stdin}"

0 comments on commit bd0882b

Please sign in to comment.