mirror of
https://github.com/nushell/nushell.git
synced 2025-02-10 15:39:19 +01:00
24 lines
380 B
Markdown
24 lines
380 B
Markdown
---
|
|
title: ansi strip
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
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
|
|
```shell
|
|
> echo [ (ansi green) (ansi cursor_on) "hello" ] | str collect | ansi strip
|
|
```
|
|
|