From 2e9a1d7998394a007615b19222c2d1b7ee386d19 Mon Sep 17 00:00:00 2001 From: miguel Date: Tue, 12 Jul 2022 14:29:44 +0100 Subject: [PATCH 1/2] correcting errors found by students --- subjects/flags/README.md | 12 ++++++------ subjects/nrune/README.md | 2 +- subjects/printstr/README.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/flags/README.md b/subjects/flags/README.md index 9ee0728b..11c64976 100644 --- a/subjects/flags/README.md +++ b/subjects/flags/README.md @@ -24,25 +24,25 @@ $ go run . --order 43a21 $ go run . --insert -i - This flag inserts the string into the string passed as argument. + This flag inserts the string into the string passed as argument. --order -o - This flag will behave like a boolean, if it is called it will order the argument. + This flag will behave like a boolean, if it is called it will order the argument. $ $ go run . -h --insert -i - This flag inserts the string into the string passed as argument. + This flag inserts the string into the string passed as argument. --order -o - This flag will behave like a boolean, if it is called it will order the argument. + This flag will behave like a boolean, if it is called it will order the argument. $ $ go run . --help --insert -i - This flag inserts the string into the string passed as argument. + This flag inserts the string into the string passed as argument. --order -o - This flag will behave like a boolean, if it is called it will order the argument. + This flag will behave like a boolean, if it is called it will order the argument. $ ``` diff --git a/subjects/nrune/README.md b/subjects/nrune/README.md index 09c4cd4b..9945acf2 100644 --- a/subjects/nrune/README.md +++ b/subjects/nrune/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a function that returns the nth `rune` of a `string`. If not possible, it returns `0`. +Write a function that returns the nth `rune` of a `string`. If it's not possible it doesn't return anything. ### Expected function diff --git a/subjects/printstr/README.md b/subjects/printstr/README.md index 2d272318..a0311599 100644 --- a/subjects/printstr/README.md +++ b/subjects/printstr/README.md @@ -30,7 +30,7 @@ And its output : ```console $ go run . | cat -e -Hello World!% +Hello World!$ $ ``` From 12d57a2f64bca67e37182833df39c9c283da2afb Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 13 Jul 2022 17:49:06 +0100 Subject: [PATCH 2/2] Dav corrections --- subjects/nrune/README.md | 2 +- subjects/printstr/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/nrune/README.md b/subjects/nrune/README.md index 9945acf2..09c4cd4b 100644 --- a/subjects/nrune/README.md +++ b/subjects/nrune/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a function that returns the nth `rune` of a `string`. If it's not possible it doesn't return anything. +Write a function that returns the nth `rune` of a `string`. If not possible, it returns `0`. ### Expected function diff --git a/subjects/printstr/README.md b/subjects/printstr/README.md index a0311599..21dd8d2e 100644 --- a/subjects/printstr/README.md +++ b/subjects/printstr/README.md @@ -30,7 +30,7 @@ And its output : ```console $ go run . | cat -e -Hello World!$ +Hello World! $ ```