From 5db2e1fd4de81756b8d447d6a532936f1da04897 Mon Sep 17 00:00:00 2001
From: Semen Zhydenko <simeon.zhidenko@gmail.com>
Date: Sun, 4 Feb 2018 17:18:44 +0100
Subject: [PATCH 1/6] funtion -> function

---
 languages/bash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/languages/bash.sh b/languages/bash.sh
index 114e344..345beab 100644
--- a/languages/bash.sh
+++ b/languages/bash.sh
@@ -154,7 +154,7 @@ ${#array[i]}                 # to find out the length of any element in the arra
 ${#array[@]}                 # to find out how many values there are in the array
 
 declare -a                   # the variables are treaded as arrays
-declare -f                   # uses funtion names only
+declare -f                   # uses function names only
 declare -F                   # displays function names without definitions
 declare -i                   # the variables are treaded as integers
 declare -r                   # makes the variables read-only

From 00697934e96eb479fae4506e86e9aa8384932e8d Mon Sep 17 00:00:00 2001
From: Semen Zhydenko <simeon.zhidenko@gmail.com>
Date: Sun, 4 Feb 2018 17:19:09 +0100
Subject: [PATCH 2/6] interupt -> interrupt

---
 languages/bash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/languages/bash.sh b/languages/bash.sh
index 345beab..0afb1fc 100644
--- a/languages/bash.sh
+++ b/languages/bash.sh
@@ -333,7 +333,7 @@ n<&-       # closes the input from file descripor n
 
 # To suspend a job, type CTRL+Z while it is running. You can also suspend a job with CTRL+Y.
 # This is slightly different from CTRL+Z in that the process is only stopped when it attempts to read input from terminal.
-# Of course, to interupt a job, type CTRL+C.
+# Of course, to interrupt a job, type CTRL+C.
 
 myCommand &  # runs job in the background and prompts back the shell
 

From 71d9b7be0128f34e41fb9ac03911d08924d250f7 Mon Sep 17 00:00:00 2001
From: Semen Zhydenko <simeon.zhidenko@gmail.com>
Date: Sun, 4 Feb 2018 17:19:44 +0100
Subject: [PATCH 3/6] occurences -> occurrences

---
 languages/bash.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/languages/bash.sh b/languages/bash.sh
index 0afb1fc..f53ed8c 100644
--- a/languages/bash.sh
+++ b/languages/bash.sh
@@ -175,8 +175,8 @@ ${variable//pattern/string}  # the longest match to pattern in variable is repla
 
 ${#varname}                  # returns the length of the value of the variable as a character string
 
-*(patternlist)               # matches zero or more occurences of the given patterns
-+(patternlist)               # matches one or more occurences of the given patterns
+*(patternlist)               # matches zero or more occurrences of the given patterns
++(patternlist)               # matches one or more occurrences of the given patterns
 ?(patternlist)               # matches zero or one occurence of the given patterns
 @(patternlist)               # matches exactly one of the given patterns
 !(patternlist)               # matches anything except one of the given patterns

From 22e0b5b3998bd6daf04fe503cf34308f4abb2f04 Mon Sep 17 00:00:00 2001
From: Semen Zhydenko <simeon.zhidenko@gmail.com>
Date: Sun, 4 Feb 2018 17:20:06 +0100
Subject: [PATCH 4/6] occurence -> occurrence

---
 languages/bash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/languages/bash.sh b/languages/bash.sh
index f53ed8c..534d162 100644
--- a/languages/bash.sh
+++ b/languages/bash.sh
@@ -177,7 +177,7 @@ ${#varname}                  # returns the length of the value of the variable a
 
 *(patternlist)               # matches zero or more occurrences of the given patterns
 +(patternlist)               # matches one or more occurrences of the given patterns
-?(patternlist)               # matches zero or one occurence of the given patterns
+?(patternlist)               # matches zero or one occurrence of the given patterns
 @(patternlist)               # matches exactly one of the given patterns
 !(patternlist)               # matches anything except one of the given patterns
 

From bdde87d6af259e9fb0711ecca300babe3c1c6a96 Mon Sep 17 00:00:00 2001
From: Semen Zhydenko <simeon.zhidenko@gmail.com>
Date: Sun, 4 Feb 2018 17:20:34 +0100
Subject: [PATCH 5/6] occured -> occurred

---
 languages/bash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/languages/bash.sh b/languages/bash.sh
index 534d162..ac55bca 100644
--- a/languages/bash.sh
+++ b/languages/bash.sh
@@ -411,7 +411,7 @@ trap dbgtrap DEBUG  # causes the trap code to be executed before every statement
 trap - DEBUG  # turn off the DEBUG trap
 
 function returntrap {
-  echo "A return occured"
+  echo "A return occurred"
 }
 
 trap returntrap RETURN  # is executed each time a shell function or a script executed with the . or source commands finishes executing

From 27c5b7466753cf4e65cb0fa4239f99dd4c7b464e Mon Sep 17 00:00:00 2001
From: Tim Roberts <timiroberts@gmail.com>
Date: Sun, 4 Feb 2018 11:00:57 -0600
Subject: [PATCH 6/6] Modify description of `utils.promisify`

This PR modifies the description of `utils.promisify` in order to more clearly explain what this function takes as an argument.
---
 backend/node.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/node.js b/backend/node.js
index fdd9adf..a2a21e1 100644
--- a/backend/node.js
+++ b/backend/node.js
@@ -190,7 +190,7 @@ util.isArray(object);          // Returns true if the given "object" is an Array
 util.isRegExp(object);         // Returns true if the given "object" is a RegExp. false otherwise.
 util.isDate(object);           // Returns true if the given "object" is a Date. false otherwise.
 util.isError(object);          // Returns true if the given "object" is an Error. false otherwise.
-util.promisify(fn)             // Takes a function and returns a version that returns promises.
+util.promisify(fn)             // Takes a function whose last argument is a callback and returns a version that returns promises.
 
 util.inherits(constructor, superConstructor);  // Inherit the prototype methods from one constructor into another.