refactor: passing linter on all bash scripts

This commit is contained in:
Zac
2023-07-21 09:45:07 -05:00
committed by GitHub
parent b4318d78a0
commit 1c0c30e6d6
14 changed files with 84 additions and 79 deletions

View File

@@ -2,10 +2,10 @@
# All common functions can be added to this file
exists() { type -t "$1" > /dev/null 2>&1; }
exists() { type -t "$1" &> /dev/null; }
is_gnu_sed () {
sed --version >/dev/null 2>&1
sed --version &> /dev/null
}
replace () {