Strip ANSI escape sequences from text.
ls --color=always | strip-ansistrip-ansi "$(ls --color=always)"strip-ansi --help-
Make sure to have
cargoandrustcinstalled. If not, you may install it using rustup. -
Clone this repository.
-
Run
cargo build --release --lockedin the repo root. -
The binary should be created at
$REPO_DIR/target/release/strip-ansi.
Go to the Release Page and find file whose name contains strip-ansi and your platform name.
From Crates.io
cargo install strip-ansi-cliFrom the Arch User Repository
yay -S strip-ansiyay -Ss strip-ansi-bin