Add `cut` command using '=' as delimiter.

parse-mdls
Mike Holloway 3 years ago
parent 9c02331baa
commit 119db85b3a
  1. 2
      mdls-parse

@ -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…
Cancel
Save