Skip to content
Snippets Groups Projects

remove ansi colors

Merged Hahn Axel (hahn) requested to merge 6907_backup_server into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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."
fi
# --- read data
data=$( "$myscript" "$sMode" )
# --- read data + remove ansii colors
data=$( "$myscript" "$sMode" | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' )
case "$sMode" in
"backupstatus")
Loading