Closed frodeaa closed 5 years ago
replace xargs with while read, avoid globbing
the same could be achived by using xargs with -0 (GNU/BSD) if newline is replaced with \0
-0
\0
tr '\n' '\0' | xargs -0 sh -e -u -c '
but I think this solution is cleaner
fixes: https://github.com/sunaku/dasht/issues/35
Beautiful patch! :ok_hand: Thank you. :+1:
replace xargs with while read, avoid globbing
the same could be achived by using xargs with
-0
(GNU/BSD) if newline is replaced with\0
but I think this solution is cleaner
fixes: https://github.com/sunaku/dasht/issues/35