summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-06-23 21:02:00 +0100
committerKerin Millar <kfm@plushkava.net>2024-06-23 22:19:15 +0100
commitcd943e5ff05dcf221c5137720a902b620e23a54f (patch)
tree01bf56486b8c580d1e0e1513794ce127a37846c1
parentDeprecate RC_NOCOLOR and the equivalent use of the positional parameters (diff)
downloadgentoo-functions-cd943e5ff05dcf221c5137720a902b620e23a54f.tar.gz
gentoo-functions-cd943e5ff05dcf221c5137720a902b620e23a54f.tar.bz2
gentoo-functions-cd943e5ff05dcf221c5137720a902b620e23a54f.zip
Rectify several typos among the comments
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r--functions.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions.sh b/functions.sh
index d80a49c..55b6c3e 100644
--- a/functions.sh
+++ b/functions.sh
@@ -132,7 +132,7 @@ is_identifier()
#
# Determines whether the first parameter is a valid integer. A leading
-# <hypen-minus> shall be permitted. Thereafter, leading zeroes shall not be
+# <hyphen-minus> shall be permitted. Thereafter, leading zeroes shall not be
# permitted because the string might later be considered to be octal in an
# arithmetic context, causing the shell to exit if the number be invalid.
#
@@ -176,10 +176,10 @@ is_anyof()
#
# Collects the intersection of the parameters up to - but not including - a
# sentinel value then determines whether the resulting set is a subset of the
-# interection of the remaining parameters. If the SENTINEL variable is set and
+# intersection of the remaining parameters. If the SENTINEL variable is set and
# non-empty, it shall be taken as the value of the sentinel. Otherwise, the
# value of the sentinel shall be defined as <hyphen-dash><hyphen-dash>. If the
-# sentinel value is not encountered or if either set is empty then the returm
+# sentinel value is not encountered or if either set is empty then the return
# value shall be greater than 1.
#
is_subset()
@@ -422,7 +422,7 @@ warn()
#
# Considers the first parameter as the potential name of an executable regular
-# file before attempting to locate it. If not specifed as an absolute pathname,
+# file before attempting to locate it. If not specified as an absolute pathname,
# a PATH search shall be performed in accordance with the Environment Variables
# section of the Base Definitions. If an executable is found, its path shall be
# printed. Otherwise, the return value shall be 1. This function is intended as