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: course-definition.yml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1301,6 +1301,7 @@ stages:
1301
1301
name: "The history builtin"
1302
1302
difficulty: easy
1303
1303
description_md: |-
1304
+
1304
1305
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.
1305
1306
1306
1307
### The history builtin
@@ -1366,7 +1367,7 @@ stages:
1366
1367
$
1367
1368
```
1368
1369
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.
1370
1371
1371
1372
### Notes
1372
1373
@@ -1405,7 +1406,7 @@ stages:
1405
1406
$
1406
1407
```
1407
1408
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.
1409
1410
1410
1411
### Notes
1411
1412
@@ -1442,7 +1443,7 @@ stages:
1442
1443
$ echo hello
1443
1444
```
1444
1445
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.
1446
1447
1447
1448
marketing_md: |-
1448
1449
In this stage, you'll implement support for recalling history with the up arrow key.
@@ -1477,7 +1478,7 @@ stages:
1477
1478
$ echo world
1478
1479
```
1479
1480
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.
1481
1482
1482
1483
marketing_md: |-
1483
1484
In this stage, you'll implement support for recalling history with the down arrow key.
0 commit comments