summarylogtreecommitdiffstats
path: root/uasm-default-nocolor.sh
blob: 5146d209844426a8df866b6656cf2b963b054f5b (plain)
1
2
3
4
5
6
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"