Comments for xjobs
07 Jun 2010 19:40
xjobs deals badly with special characters (such as space, ' and
"). To see the problem try this:
touch important_file
touch 'not important_file'
ls not* | xjobs rm
mkdir -p '12" records'
ls | xjobs rmdir
GNU Parallel www.gnu.org/software/p... does not suffer from this problem.
A Java framework for building modular, cross-platform applications.
This effect is due to argument parsing. This actually enables xjobs to pass more than one argument to every job, and even inconsistent number of arguments between jobs. So this is a feature not a bug. The latest release has a new options -1 and -0 that simplify the usage scenario you are complaining about.