diff --git a/mdls-parse b/mdls-parse index b080d33..ad8cf7d 100755 --- a/mdls-parse +++ b/mdls-parse @@ -3,8 +3,8 @@ 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) + 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