Skip to content

Commit 8dda4c5

Browse files
committed
Update pipeline example and reformat notes for clarity
1 parent 69fcffc commit 8dda4c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stage_descriptions/pipelines-03-xk3.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The tester will execute your program like this:
1313
It'll then send commands involving pipelines with three or more stages:
1414

1515
```bash
16-
$ cat /tmp/foo/file | head -n 5 | wc
17-
5 5 10
16+
$ cat /tmp/foo/file | head -n 3 | wc
17+
3 3 10
1818
$ ls -la /tmp/foo | tail -n 5 | head -n 3 | grep "file"
1919
-rw-r--r-- 1 user user 5 Apr 29 10:06 file
2020
$
@@ -24,6 +24,6 @@ The tester will check if the final output matches the expected output after the
2424

2525
### Notes
2626

27-
- This requires managing multiple pipes and processes.
28-
- Ensure correct setup of stdin/stdout for each command in the chain (except the first command's stdin and the last command's stdout, which usually connect to the terminal or file redirections).
29-
- Proper process cleanup and waiting are crucial.
27+
- This requires managing multiple pipes and processes.
28+
- Ensure correct setup of stdin/stdout for each command in the chain (except the first command's stdin and the last command's stdout, which usually connect to the terminal or file redirections).
29+
- Proper process cleanup and waiting are crucial.

0 commit comments

Comments
 (0)