On branch parse-mdls

Your branch is up to date with 'origin/parse-mdls'.

 Changes to be committed:
modified:   mdls-parse
	Instantiating variables for mdls key,value pairs.
This commit is contained in:
Mike Holloway committed 2022-03-26 14:33:05 -04:00
1 parent 16ba557fd6
commit 2d210310b7
1 file changed
+3 -1
+3 -1
View File
@@ -3,6 +3,8 @@
oldIFS=$IFS
IFS=$'\n'
for line in $(mdls .env); do
printf "%s "$line | cut -d '=' -f 1,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"
done
unset IFS