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

Merge branch 'check-clientbackup-with-prune-verify' into 'master'

fix filtercolor

See merge request !85
parents 6ff86d1c 7b6c69f8
No related branches found
No related tags found
1 merge request!85fix filtercolor
......@@ -73,7 +73,7 @@ function showAge(){
# To use it set a pipe in front:
# <command> | filterColor
function filterColor(){
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g"
}
# ------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment