mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[bash] Fix some spell errors in comments
This commit is contained in:
parent
fba9728e46
commit
b2028c7f0c
@ -94,12 +94,12 @@ python2 hello.py 2> "error.err"
|
|||||||
# The output error will overwrite the file if it exists, if you want to
|
# The output error will overwrite the file if it exists, if you want to
|
||||||
# concatenate them, use ">>" instead.
|
# concatenate them, use ">>" instead.
|
||||||
|
|
||||||
# Commands can be substitued within other commands using $( ):
|
# Commands can be substituted within other commands using $( ):
|
||||||
# The following command displays the number of files and directories in the
|
# The following command displays the number of files and directories in the
|
||||||
# current directory.
|
# current directory.
|
||||||
echo "There are $(ls | wc -l) items here."
|
echo "There are $(ls | wc -l) items here."
|
||||||
|
|
||||||
# Bash uses a case statement that works similarily to switch in Java and C++:
|
# Bash uses a case statement that works similarly to switch in Java and C++:
|
||||||
case "$VARIABLE" in
|
case "$VARIABLE" in
|
||||||
#List patterns for the conditions you want to meet
|
#List patterns for the conditions you want to meet
|
||||||
0) echo "There is a zero.";;
|
0) echo "There is a zero.";;
|
||||||
|
Loading…
Reference in New Issue
Block a user