News for hackers. Stuff that matters.
Re:GNU Parallel by martinflack on Tuesday December 27, 2016 @02:00AM (#13261711)
Protip: for "strange" characters, see the -0 argument to xargs. If the file list comes from find, see the -print0 argument there.

    find -print0 | xargs -0 -n1 echo

    echo -n "file '#1'\0file '#2'\0" | xargs -0 -n1 -I{} echo "the file is \"{}\", ok?"
Re:GNU Parallel by krick on Tuesday December 27, 2016 @04:49PM (#13266487)
Oh yeah, great I idea. Now insert sorting somewhere between the pipes and use at least one filename with '"' character. Good luck with your xargs. parallel handles all this automatically, you don't even have to know there might be any problems with escaping here.
Re:GNU Parallel by martinflack on Tuesday December 27, 2016 @05:38PM (#13266846)
Thanks - I will take a closer look at parallel.