Add cut command using '=' as delimiter.

This commit is contained in:
Mike Holloway 2022-03-26 14:24:09 -04:00
parent 9c02331baa
commit 119db85b3a

View File

@ -3,6 +3,6 @@
oldIFS=$IFS
IFS=$'\n'
for line in $(mdls .env); do
echo $line
printf "%s "$line | split -d '=' -f 1,2
done
unset IFS