bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: typo in bash manual


From: Chris Down
Subject: Re: typo in bash manual
Date: Sun, 2 Mar 2014 12:55:08 +0800
User-agent: Mutt/1.5.22 (2013-10-16)

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.

Attachment: pgpx43XvbROgV.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]