asci codes in terminal output to a file
Hello everybody,
I have this line to save the output of 'translate-shell' to a file
[code] echo -e "\n" | den prancing | tee -a eng-words.md [/code]
where 'den' is an alias
[code] type den den is aliased to `trans $1 en:bg' [/code]
And in the file I get
[code] Definitions of [4mprancing[24m [ [4mEnglish[24m -> [1mбългарски[22m ] [/code]
How to make those asci codes to not appear at all in the output file?
Thank you in advance!