Re: gnu parallel in the bash manual

2013-03-02 Thread Chet Ramey
> this is actually more disturbing. > > ls | parallel mv {} destdir > > find -type f -print0 | xargs -0 -I{} -P /bin/mv {} If we're really going to pick nits here, those two aren't really identical. You'd probably want something like find . -depth 1 \! -name '.*' -print0 to start. Chet --

Re: gnu parallel in the bash manual

2013-03-02 Thread Chet Ramey
I'm getting a chance to look at this. > this is actually more disturbing. > > ls | parallel mv {} destdir That's straight from the parallel manual. Pretty much all of the examples are from the parallel manual. Ole Tange, GNU parallel's author, supplied the text and examples. It would be more

Re: PATCH: compile Bash 4.2 with DJGPP

2013-03-02 Thread Chet Ramey
On 3/2/13 8:52 AM, Fabrizio Gennari wrote: > Hello, > with this patch I successfully compiled Bash 4.2 using a DJGPP > cross-compiler running under Linux (Ubuntu 12.10). May this be applied? Thanks for the report. All of these patches, or equivalent, except for the SIGCHLD check in malloc.c (than

Re: PATCH: compile Bash 4.2 with DJGPP

2013-03-02 Thread Chris Down
Apparently Gmail has now started mangling attachments. Must be recent. My bad. Chris On 2 March 2013 23:11, Fabrizio Gennari wrote: > Strange, I checked it and even downloaded it again from the list archive at > http://lists.gnu.org/archive/html/bug-bash/2013-03/txtu9EivjW9Sd.txt : there > are n

Re: PATCH: compile Bash 4.2 with DJGPP

2013-03-02 Thread Fabrizio Gennari
Strange, I checked it and even downloaded it again from the list archive at http://lists.gnu.org/archive/html/bug-bash/2013-03/txtu9EivjW9Sd.txt : there are no carriage returns, only newlines Il 02/03/2013 15:17, Chris Down ha scritto: Your patch appears to be mangled with carriage returns. O

Re: PATCH: compile Bash 4.2 with DJGPP

2013-03-02 Thread Chris Down
Your patch appears to be mangled with carriage returns. On 2 March 2013 21:52, Fabrizio Gennari wrote: > Hello, > with this patch I successfully compiled Bash 4.2 using a DJGPP > cross-compiler running under Linux (Ubuntu 12.10). May this be applied? > > Regards, > Fabrizio

PATCH: compile Bash 4.2 with DJGPP

2013-03-02 Thread Fabrizio Gennari
Hello, with this patch I successfully compiled Bash 4.2 using a DJGPP cross-compiler running under Linux (Ubuntu 12.10). May this be applied? Regards, Fabrizio diff -ru bash-4.2/execute_cmd.c bash-4.2patch/execute_cmd.c --- bash-4.2/execute_cmd.c 2011-02-09 23:32:25.0 +0100 +++ bash-4.2

Re: Leveraging the completion system to discover available options in a command

2013-03-02 Thread Davide Brini
On Fri, 1 Mar 2013 15:27:31 +0200, Idan Kamara wrote: > Hi, > > Is it possible to use the completion system to get a list of available > options for a command bash knows how to auto-complete? > > Ideally, I'd like given the name of a program to get a list of pairs > (option string, desc) for ea