Is it possible to make xargs
use only newline as separator? (in bash on Linux and OS X if that matters)
I know -0
can be used, but it's PITA as not every command supports NUL-delimited output.
bashlinuxxargs
Is it possible to make xargs
use only newline as separator? (in bash on Linux and OS X if that matters)
I know -0
can be used, but it's PITA as not every command supports NUL-delimited output.
Best Answer
Something along the lines of
should work.