2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: ansi strip
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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
|
|
|
|
```
|