Fix Typo in Shell Scripting Literal Description (#5613)

Fixed a typo in the definition of boolean literals in shell scripts that could be misleading
This commit is contained in:
bitblocksplicer
2024-05-10 19:12:09 +01:00
committed by GitHub
parent 540d5030a4
commit bd76e760d4
@@ -6,7 +6,7 @@ String Literals: They can be defined by enclosing the text between either single
Numeric Literals: They represent a sequence of digits. For example, 25, 100, or 1234.
Boolean Literals: In most of the Linux shell scripts, 0 represents true, and 1 represents false.
Boolean Literals: In most of the Linux shell scripts, 1 represents true, and 0 represents false.
Be mindful of the type of literal you're using as it can significantly influence your scripting, your code's readability, and its overall functionality.
@@ -22,4 +22,4 @@ echo $NumericLiteral
In this example, `StringLiteral` and `NumericLiteral` are literals and `echo` is used to print them.
Always remember, a good understanding of literals is fundamental when it comes to shell scripting in Linux.
Always remember, a good understanding of literals is fundamental when it comes to shell scripting in Linux.