Skip to content

Commit b551f96

Browse files
authored
Update pipelines.md (#1874)
1 parent c6407f4 commit b551f96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lang-guide/chapters/pipelines.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Redirection to a file:
3737

3838
| type | command | `file.txt` contents | printed to terminal |
3939
| -------------- | -------------------------- | ------------------- | ------------------- |
40-
| o> file_path | `nu demo.nu o> file.txt` | "foo" | "barbar" |
41-
| e> file_path | `nu demo.nu e> file.txt` | "barbar" | "foo" |
42-
| o+e> file_path | `nu demo.nu o+e> file.txt` | "foo/nbarbar" | nothing |
40+
| o> file_path | `nu demo.nu o> file.txt` | "foo\n" | "barbar" |
41+
| e> file_path | `nu demo.nu e> file.txt` | "barbar\n" | "foo" |
42+
| o+e> file_path | `nu demo.nu o+e> file.txt` | "foo\nbarbar\n" | nothing |
4343

4444
`complete` command:
4545

@@ -238,4 +238,4 @@ It runs `custom-cmd` first, then pipes *stdout and stderr* to `^cmd5`, where bot
238238
| cmd1 | Piped | File |
239239
| cmd2 | File | File |
240240
| cmd3 | Piped | File |
241-
| cmd4 | File | File |
241+
| cmd4 | File | File |

0 commit comments

Comments
 (0)