diff --git a/lang-guide/chapters/pipelines.md b/lang-guide/chapters/pipelines.md index b5918a8ed76..e6a715c561c 100644 --- a/lang-guide/chapters/pipelines.md +++ b/lang-guide/chapters/pipelines.md @@ -37,9 +37,9 @@ Redirection to a file: | type | command | `file.txt` contents | printed to terminal | | -------------- | -------------------------- | ------------------- | ------------------- | -| o> file_path | `nu demo.nu o> file.txt` | "foo" | "barbar" | -| e> file_path | `nu demo.nu e> file.txt` | "barbar" | "foo" | -| o+e> file_path | `nu demo.nu o+e> file.txt` | "foo/nbarbar" | nothing | +| o> file_path | `nu demo.nu o> file.txt` | "foo\n" | "barbar" | +| e> file_path | `nu demo.nu e> file.txt` | "barbar\n" | "foo" | +| o+e> file_path | `nu demo.nu o+e> file.txt` | "foo\nbarbar\n" | nothing | `complete` command: @@ -238,4 +238,4 @@ It runs `custom-cmd` first, then pipes *stdout and stderr* to `^cmd5`, where bot | cmd1 | Piped | File | | cmd2 | File | File | | cmd3 | Piped | File | -| cmd4 | File | File | \ No newline at end of file +| cmd4 | File | File |