diff options
author | Darren Ng | 2019-09-17 11:28:22 +0800 |
---|---|---|
committer | Darren Ng | 2019-09-17 11:28:22 +0800 |
commit | b8542bb5c26ba4f8cdad4cbac69545fdd006589e (patch) | |
tree | c1a58237b3ce7ad738afbae4b58bcbb14aca6b6b /uasm-default-nocolor.sh | |
parent | 02fb4e57dc674ae4284fa6fa8d01a682ffdd1be3 (diff) | |
download | aur-b8542bb5c26ba4f8cdad4cbac69545fdd006589e.tar.gz |
update v2.50
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 |