shell 刪除顏色代碼

 

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