{"id":1679,"date":"2025-03-31T17:22:01","date_gmt":"2025-03-31T17:22:01","guid":{"rendered":"\/blog\/?p=1679"},"modified":"2025-03-31T17:22:01","modified_gmt":"2025-03-31T17:22:01","slug":"remove-ansi-colors-from-file","status":"publish","type":"post","link":"\/blog\/index.php\/remove-ansi-colors-from-file\/","title":{"rendered":"remove ansi colors from file"},"content":{"rendered":"\n<p><code>cat file.txt |  sed 's\/\\x1b[[0-9;]*m\/\/g'<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cat file.txt | sed &#8216;s\/\\x1b[[0-9;]*m\/\/g&#8217;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1679","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1679"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1679\/revisions"}],"predecessor-version":[{"id":1680,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1679\/revisions\/1680"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1679"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}