Adding variables to printf command
This commit is contained in:
parent
2d210310b7
commit
9ad239a3dd
@ -5,6 +5,6 @@ IFS=$'\n'
|
|||||||
for line in $(mdls .env); do
|
for line in $(mdls .env); do
|
||||||
mdls_key=$(printf "%s "$line | cut -d '=' -f 1)
|
mdls_key=$(printf "%s "$line | cut -d '=' -f 1)
|
||||||
mdls_value=$(printf "%s "$line | cut -d '=' -f 2)
|
mdls_value=$(printf "%s "$line | cut -d '=' -f 2)
|
||||||
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n"
|
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value
|
||||||
done
|
done
|
||||||
unset IFS
|
unset IFS
|
||||||
|
Loading…
Reference in New Issue
Block a user