Whoops - `cut` not `split`

parse-mdls
Mike Holloway 3 years ago
parent 119db85b3a
commit 16ba557fd6
  1. 2
      mdls-parse

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

Loading…
Cancel
Save