From 3cbd138bcfbc32019e12dca5a92ae659392c0ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20Crois=C3=A9?= Date: Mon, 28 Nov 2022 02:17:27 +0100 Subject: [PATCH 1/2] Update string_color.md --- docs/gemstones/string_color.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/gemstones/string_color.md b/docs/gemstones/string_color.md index 4d074d9128..b34e4bc041 100644 --- a/docs/gemstones/string_color.md +++ b/docs/gemstones/string_color.md @@ -22,7 +22,7 @@ When we download bash scripts that have been written by others in our daily work | 33 | yellow | | 34 | blue | | 35 | purple | -| 36 | Dark green | +| 36 | dark green | | 37 | white | ## Background color of font @@ -30,12 +30,12 @@ When we download bash scripts that have been written by others in our daily work | **Background color code** | **describe** | | :---: | :---: | | 40 | black | -| 41 | Crimson | +| 41 | crimson | | 42 | green | | 43 | yellow | | 44 | blue | | 45 | purple | -| 46 | Dark green | +| 46 | dark green | | 47 | white | ## Display mode @@ -45,9 +45,9 @@ When we download bash scripts that have been written by others in our daily work | 0 |Terminal default settings| | 1 |Highlight| | 4 |Underline| -| 5 |Currsor blinks| +| 5 |Cursor blinks| | 7 |Reverse display| -| 8 | hide | +| 8 |Hide | ## Mode of execution @@ -66,7 +66,7 @@ We can write a script to observe the color change. # Font color cycle for color1 in {31..37} do - echo -e "\033[0;${color1};40m---hello! world---\033[0m" + echo -e "\033[0;${color1};40m---hello! Rocky---\033[0m" done echo "-------" @@ -74,7 +74,7 @@ echo "-------" # Background color cycle for color2 in {40..47} do - echo -e "\033[30;${color2}m---hello! world---\033[0m" + echo -e "\033[30;${color2}m---hello! Rocky---\033[0m" done echo "-------" @@ -82,7 +82,7 @@ echo "-------" # Cycle of display mode for color3 in 0 1 4 5 7 8 do - echo -e "\033[${color3};37;40m---hello! world---\033[0m" + echo -e "\033[${color3};37;40m---hello! Rocky---\033[0m" done ``` From 1c116fefa735acdc2368fa5300b26212e0fefe3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20Crois=C3=A9?= Date: Mon, 28 Nov 2022 02:29:44 +0100 Subject: [PATCH 2/2] Update string_color.md (description) * description instead of describe * consistent lowercase --- docs/gemstones/string_color.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/gemstones/string_color.md b/docs/gemstones/string_color.md index b34e4bc041..22c8b8a79e 100644 --- a/docs/gemstones/string_color.md +++ b/docs/gemstones/string_color.md @@ -14,7 +14,7 @@ When we download bash scripts that have been written by others in our daily work ## Font color -| **color code** | **describe** | +| **color code** | **description** | | :---: | :---: | | 30 | black | | 31 | red | @@ -27,7 +27,7 @@ When we download bash scripts that have been written by others in our daily work ## Background color of font -| **Background color code** | **describe** | +| **background color code** | **description** | | :---: | :---: | | 40 | black | | 41 | crimson | @@ -40,7 +40,7 @@ When we download bash scripts that have been written by others in our daily work ## Display mode -| **code** | **describe** | +| **code** | **description** | | :---: | :---: | | 0 |Terminal default settings| | 1 |Highlight|