You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stage_descriptions/pipelines-03-xk3.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ The tester will execute your program like this:
13
13
It'll then send commands involving pipelines with three or more stages:
14
14
15
15
```bash
16
-
$ cat /tmp/foo/file | head -n 5| wc
17
-
55 10
16
+
$ cat /tmp/foo/file | head -n 3| wc
17
+
33 10
18
18
$ ls -la /tmp/foo | tail -n 5 | head -n 3 | grep "file"
19
19
-rw-r--r-- 1 user user 5 Apr 29 10:06 file
20
20
$
@@ -24,6 +24,6 @@ The tester will check if the final output matches the expected output after the
24
24
25
25
### Notes
26
26
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).
0 commit comments