Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Problem caused by apostrophe’s special meaning in xargs
In response to
mark:~/dutest $ touch "a'b"
mark:~/dutest $ du -s * | sort -n | cut -f2
mark:~/dutest $ du -s * | sort -n | cut -f2 | xargs du -sh
xargs: unterminated quote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment