Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 925 Bytes

ansi_strip.md

File metadata and controls

40 lines (30 loc) · 925 Bytes
title categories version platform usage
ansi strip
platform
0.86.0
Strip ANSI escape sequences from a string.
Strip ANSI escape sequences from a string.

{{ $frontmatter.title }} for platform

{{ $frontmatter.platform }}

Signature

> ansi strip {flags} ...rest

Parameters

  • ...rest: for a data structure input, remove ANSI sequences from strings at the given cell paths

Input/output types:

input output
list<string> list<string>
record record
string string
table table

Examples

Strip ANSI escape sequences from a string

> $'(ansi green)(ansi cursor_on)hello' | ansi strip
hello