added Malcolm

This commit is contained in:
2021-08-06 10:35:01 +02:00
parent f043730066
commit 70f1922e80
751 changed files with 195277 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Copyright (c) 2021 Battelle Energy Alliance, LLC. All rights reserved.
function in_array() {
local haystack="${1}[@]"
local needle="${2}"
for i in "${!haystack}"; do
if [[ "${i}" == "${needle}" ]]; then
return 0
fi
done
return 1
}