Skip to content

Commit bfc0ef7

Browse files
authored
Revise "Append stdout #el9"
Clarify the explanation of the `1>>` operator and improve sentence structure in the documentation.
1 parent 00a293d commit bfc0ef7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

stage_descriptions/redirection-03-el9.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
In this stage, you'll implement support for appending the output of a command to a file.
22

3+
### The `1>>` Operator
4+
35
The `1>>` operator is used to append the output of a command to a file.
46
As a special case, if the file descriptor is not specified before the operator `>>`, the output is redirected to the standard output by default, so `>>` is equivalent to `1>>`.
57

@@ -13,7 +15,7 @@ The tester will execute your program like this:
1315
./your_program.sh
1416
```
1517

16-
It'll then send a series of commands to your shell, executing commands and appending their output to a file:
18+
It will then send a series of commands to your shell, executing commands, and appending their output to a file:
1719

1820
```bash
1921
$ ls /tmp/baz >> /tmp/bar/bar.md
@@ -35,5 +37,5 @@ banana
3537
blueberry
3638
```
3739

38-
The tester will check if the commands correctly execute commands and append their output to a file as specified.
39-
The file contents will also be checked for correctness.
40+
The tester will check if the commands are executed correctly and append their output to a file as specified.
41+
The file contents will also be checked for correctness.

0 commit comments

Comments
 (0)