From 75e323ee35861a331dc141efe9fecfcc6f5f6433 Mon Sep 17 00:00:00 2001 From: JT Date: Sun, 3 Oct 2021 10:56:11 +1300 Subject: [PATCH] Lines shouldn't trim --- crates/nu-command/src/filters/lines.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filters/lines.rs b/crates/nu-command/src/filters/lines.rs index 74333ff3ef..f3517c8e65 100644 --- a/crates/nu-command/src/filters/lines.rs +++ b/crates/nu-command/src/filters/lines.rs @@ -62,7 +62,7 @@ impl Command for Lines { .filter_map(|s| { if !s.is_empty() { Some(Value::String { - val: s.trim().into(), + val: s.into(), span, }) } else {