mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
23 lines
379 B
Markdown
23 lines
379 B
Markdown
---
|
|
title: ansi strip
|
|
layout: command
|
|
version: 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
|
|
```shell
|
|
> echo [ (ansi green) (ansi cursor_on) "hello" ] | str collect | ansi strip
|
|
```
|