Skip to content
Snippets Groups Projects
Commit b93e0bde authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove ansi colors

parent caa2d1e3
No related branches found
No related tags found
1 merge request!219remove ansi colors
...@@ -89,8 +89,8 @@ if [ ! -x "$myscript" ]; then ...@@ -89,8 +89,8 @@ if [ ! -x "$myscript" ]; then
ph.abort "UNKNOWN: $myscript is not available / executable. Use -d to fix the installation dir. Get help with -h." ph.abort "UNKNOWN: $myscript is not available / executable. Use -d to fix the installation dir. Get help with -h."
fi fi
# --- read data # --- read data + remove ansii colors
data=$( "$myscript" "$sMode" ) data=$( "$myscript" "$sMode" | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' )
case "$sMode" in case "$sMode" in
"backupstatus") "backupstatus")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment