[bash] Fix some spell errors in comments

This commit is contained in:
Christos Kontas 2013-10-04 18:32:11 +03:00
parent fba9728e46
commit b2028c7f0c

View File

@ -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.";;