Skip to content

Commit 58e620f

Browse files
authored
Merge pull request #91 from codecrafters-io/arpan/cc-1739-implement-the-shell-history-extension
Minor fixes to the MD Content
2 parents a104c4c + 1cc238d commit 58e620f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

course-definition.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,7 @@ stages:
13011301
name: "The history builtin"
13021302
difficulty: easy
13031303
description_md: |-
1304+
13041305
In this stage, you'll add support for [history](https://www.gnu.org/software/bash/manual/html_node/Bash-History-Builtins.html#index-history) as a shell builtin.
13051306
13061307
### The history builtin
@@ -1366,7 +1367,7 @@ stages:
13661367
$
13671368
```
13681369
1369-
The tester will then execute the `history` command and expect a history list with the commands that were executed, formatted and indexed like in the example above.
1370+
The tester expects a history list with the commands that were executed, formatted and indexed like in the example above.
13701371
13711372
### Notes
13721373
@@ -1405,7 +1406,7 @@ stages:
14051406
$
14061407
```
14071408
1408-
The tester will then execute the `history <n>` command and expect the history list to be limited to the last `n` commands.
1409+
The tester expects the history list to be limited to the last `n` commands.
14091410
14101411
### Notes
14111412
@@ -1442,7 +1443,7 @@ stages:
14421443
$ echo hello
14431444
```
14441445
1445-
The tester will execute some commands and then press the up arrow key to recall the history.
1446+
The tester will expect the previous commands to be displayed when the up arrow key is pressed.
14461447
14471448
marketing_md: |-
14481449
In this stage, you'll implement support for recalling history with the up arrow key.
@@ -1477,7 +1478,7 @@ stages:
14771478
$ echo world
14781479
```
14791480
1480-
The tester will execute some commands and then press the up and then down arrow keys to recall the history.
1481+
The tester will expect the previous commands to be displayed when the down arrow key is pressed.
14811482
14821483
marketing_md: |-
14831484
In this stage, you'll implement support for recalling history with the down arrow key.

0 commit comments

Comments
 (0)