On 2014-03-01 11:29:03 -0800, Dave Yost wrote:
> In http://www.gnu.org/software/bash/manual/bashref.html#GNU-Parallel
>
> Where you say
> ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}"
> This will recompress all files in the current directory with names ending in
> .gz using bzip2, running one job per CPU (-j+0) in parallel.
>
> it should be
> ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}"
> This will recompress all files in the current directory with names ending in
> .bz2 using bzip2, running one job per CPU (-j+0) in parallel.
I think you're reading this wrong. "With" in this context is a
limitation of the glob selection, not the output filename.