Add include folder for extra functions

This commit is contained in:
2024-01-28 18:32:26 +01:00
parent 873a977c49
commit 93a2a7b3f8
6 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# This function creates an array of a *nix path
# Example: /home/user/bin becomes an array of ( home user bin )
function slash_to_array () {
sta=( $( echo ${1} | sed -e "s/\//\ /g" ) )
# return ${sta}
}