mirror of
https://github.com/nushell/nushell.git
synced 2024-12-11 09:43:24 +01:00
23 lines
379 B
Markdown
23 lines
379 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
|
||
|
```
|