computerfaq:strip_ansi_codes_from_a_text_file
Differences
This shows you the differences between two versions of the page.
computerfaq:strip_ansi_codes_from_a_text_file [2022/07/13 11:13] – created genadmin | computerfaq:strip_ansi_codes_from_a_text_file [2022/07/13 11:14] (current) – genadmin | ||
---|---|---|---|
Line 6: | Line 6: | ||
Stripping this is fairly easy and we'll do it with sed... | Stripping this is fairly easy and we'll do it with sed... | ||
- | < | + | < |
Here we're taking the encoded logfile, passing it through sed which will strip out the ANSI codes, and then putting it back in a new log file. | Here we're taking the encoded logfile, passing it through sed which will strip out the ANSI codes, and then putting it back in a new log file. |
/home/gen.uk/domains/wiki.gen.uk/public_html/data/pages/computerfaq/strip_ansi_codes_from_a_text_file.txt · Last modified: 2022/07/13 11:14 by genadmin