diff options
Diffstat (limited to 'uasm-default-nocolor.sh')
-rw-r--r-- | uasm-default-nocolor.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uasm-default-nocolor.sh b/uasm-default-nocolor.sh new file mode 100644 index 000000000000..5146d2098444 --- /dev/null +++ b/uasm-default-nocolor.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# https://superuser.com/a/380778/744579 +/usr/bin/uasm-color $@ | sed 's/\x1b\[[0-9;]*m//g' + +# https://stackoverflow.com/a/18000433/8243991 +# /usr/bin/uasm-color $@ | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"
\ No newline at end of file |