Skip to content

Commit e1f4a66

Browse files
authored
Update string_color.md
Change the text "Rocky" to "world" to match the screenshot correctly
1 parent afdb75e commit e1f4a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/gemstones/string_color.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ We can write a script to observe the color change.
6666
# Font color cycle
6767
for color1 in {31..37}
6868
do
69-
echo -e "\033[0;${color1};40m---hello! Rocky---\033[0m"
69+
echo -e "\033[0;${color1};40m---hello! world---\033[0m"
7070
done
7171

7272
echo "-------"
7373

7474
# Background color cycle
7575
for color2 in {40..47}
7676
do
77-
echo -e "\033[30;${color2}m---hello! Rocky---\033[0m"
77+
echo -e "\033[30;${color2}m---hello! world---\033[0m"
7878
done
7979

8080
echo "-------"
8181

8282
# Cycle of display mode
8383
for color3 in 0 1 4 5 7 8
8484
do
85-
echo -e "\033[${color3};37;40m---hello! Rocky---\033[0m"
85+
echo -e "\033[${color3};37;40m---hello! world---\033[0m"
8686
done
8787
```
8888

0 commit comments

Comments
 (0)