From 1fcb98289ab110bbfa97fb66d924450128bcf756 Mon Sep 17 00:00:00 2001 From: K3rnelP4n1k Date: Wed, 5 Apr 2023 19:26:20 +0200 Subject: [PATCH] Add section on removing ANSI sequences with find command (#8519) Co-authored-by: Phreno --- crates/nu-command/src/filters/find.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/nu-command/src/filters/find.rs b/crates/nu-command/src/filters/find.rs index bb92cd0e6..dbb068af6 100644 --- a/crates/nu-command/src/filters/find.rs +++ b/crates/nu-command/src/filters/find.rs @@ -131,6 +131,11 @@ impl Command for Find { span: Span::test_data(), }), }, + Example { + description: "Remove ANSI sequences from result", + example: "[[foo bar]; [abc 123] [def 456]] | find 123 | get bar | ansi strip", + result: None, + }, ] }