Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 997 Bytes

File metadata and controls

42 lines (32 loc) · 997 Bytes
title ansi strip
categories platform
version 0.108.0
platform Strip ANSI escape sequences from a string.
usage Strip ANSI escape sequences from a string.
editLink false
contributors false

ansi strip for platform

Strip ANSI escape sequences from a string.

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
string string
list<string> list<string>
table table
record record

Examples

Strip ANSI escape sequences from a string

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