shell 删除颜色代码

 

sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
相关文章
相关标签/搜索