Add cut
command using '=' as delimiter.
This commit is contained in:
parent
9c02331baa
commit
119db85b3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user