I have a bash script that runs and outputs to a text file however the colour codes it uses are also included what i\'d like to know is how to remove them from the file, ie>
Does this solve the issue?
$ echo "^[[38;1;32mHello^[[39m" | sed -e 's/\^\[\[[0-9;]\{2,\}m//g' Hello
cheers!!