summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2015-05-25 20:21:55 -0600
committerGeoff Liu <cangming.liu@gmail.com>2015-05-25 20:21:55 -0600
commit839c56023b874cbb5dc28493b8e5563e49a5090d (patch)
tree7e23bfb98d654b4317eefce42b1f9fb89e130248
parent4d77e1678019f6584001c5826c108b5fb3a38cfe (diff)
parentde676b62b83fcaaa9977cca9adb9c38383b64f35 (diff)
Merge pull request #1105 from liamzebedee/patch-1
fix spelling errors in bash
-rw-r--r--bash.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index ee783c14..08182c2c 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -56,7 +56,7 @@ echo '$Variable'
# String substitution in variables
echo ${Variable/Some/A}
-# This will substitute the first occurance of "Some" with "A"
+# This will substitute the first occurrence of "Some" with "A"
# Substring from a variable
Length=7
@@ -74,7 +74,7 @@ echo "Last program return value: $?"
echo "Script's PID: $$"
echo "Number of arguments: $#"
echo "Scripts arguments: $@"
-echo "Scripts arguments seperated in different variables: $1 $2..."
+echo "Scripts arguments separated in different variables: $1 $2..."
# Reading a value from input:
echo "What's your name?"