4 ms·
That looks like it works until your MANIFEST file ends up with a space character in one of the file names. For GNU xargs I like adding -d\\n which handles ever
by __david__ 12y ago
That looks like it works until your MANIFEST file ends up with a space character in one of the file names.
For GNU xargs I like adding -d\\n which handles everything except files with an embedded newline. Those are much rarer than files with a space, though.
Sadly, OS X xargs (probably BSD based) doesn't have that option, so I have an alias to do the same thing:
alias xargsn="tr '\n' '\0' | xargs -0"
- colanderman 12y agoGood catch.