mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-11-23 17:19:11 +01:00
POSIX compatibility fix: sed -r => sed -E
This commit is contained in:
1 parent
b8477d0e4d
commit
cd79597e9a
3 files changed
+3
-3
No files matched your search
@@ -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