nushell/docs/commands/ansi_strip.md

379 B

title layout version
ansi strip command 0.59.1

strip ansi escape sequences from string

Signature

> ansi strip ...column path

Parameters

  • ...column path: optionally, remove ansi sequences by column paths

Examples

strip ansi escape sequences from string

> echo [ (ansi green) (ansi cursor_on) "hello" ] | str collect | ansi strip