You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
313 B

# Bash Subfunction
oldIFS=$IFS
IFS=$'\n'
for line in $(mdls .env); do
mdls_key=$(printf "%s "$line | cut -d '=' -f 1)
mdls_value=$(printf "%s "$line | cut -d '=' -f 2)
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value
done
unset IFS