mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-04-26 10:33:19 +02:00
POSIX compatibility fix: sed -r => sed -E
This commit is contained in:
@@ -18,7 +18,7 @@ _pr_echo_raw() {
|
||||
interpret_chars='-e'
|
||||
fi
|
||||
ctrlchar=$($g_echo_cmd $interpret_chars "\033")
|
||||
msg=$($g_echo_cmd $interpret_chars "$msg" | sed -r "s/$ctrlchar\[([0-9][0-9]?(;[0-9][0-9]?)?)?m//g")
|
||||
msg=$($g_echo_cmd $interpret_chars "$msg" | sed -E "s/$ctrlchar\[([0-9][0-9]?(;[0-9][0-9]?)?)?m//g")
|
||||
fi
|
||||
if [ "$g_echo_cmd_type" = printf ]; then
|
||||
if [ "$opt" = "-n" ]; then
|
||||
|
||||
Reference in New Issue
Block a user