1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

echo: don't output "\n" if "\c" is encountered

This commit is contained in:
Daniel Hofstetter 2023-10-03 14:37:15 +02:00
parent 139f205783
commit c29bcb219f
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ fn test_escape_no_further_output() {
new_ucmd!()
.args(&["-e", "a\\cb", "c"])
.succeeds()
.stdout_only("a\n");
.stdout_only("a");
}
#[test]