ajout functions.sh

This commit is contained in:
2022-09-30 07:25:10 +00:00
parent 83fd883a2e
commit 4b5d964929

13
functions.sh Normal file
View File

@@ -0,0 +1,13 @@
#/home/usera/functions.sh
function myerror {
code=$1
shift
message=$@
echo "$message"
exit $code
}
function toUpper {
VAR=${1^^}
echo $VAR
}