Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client

2008-10-03 Thread Chet Ramey
Serge Dussud - Sun Microsystems wrote: > > Hello bug-bash, > > please find attached a bashbug report. I am not sure how to follow-up > then, could you advise ? This is the appropriate venue for these reports. I have a few questions about this one. 1. The trace shows that the process is not, i

Re: feature request: "wait --free-slot" for poor man's parallelization

2008-10-03 Thread Mike Coleman
On Fri, Oct 3, 2008 at 4:13 AM, Jan Schampera <[EMAIL PROTECTED]> wrote: > Mike Coleman wrote: >> >> Here's a bash feature I'd love to see, but don't have time to >> implement myself: a "--free-slot" flag to 'wait' that will wait until >> there is at least one free "slot" available, where a slot is

Re: File renaming using SED in BASH

2008-10-03 Thread vian
On Sep 22, 4:55 am, MisterMuv <[EMAIL PROTECTED]> wrote: > chg=echo $f |sed 's:(www.somewhere.net)::' > mv $f $chg > What am I doing wrong? just use this: mv "$f" "$chg", when your filenames are using spaces and other weird characters Also, I would suggest removing trailing spaces from filename

Re: feature request: "wait --free-slot" for poor man's parallelization

2008-10-03 Thread Jan Schampera
Mike Coleman wrote: Here's a bash feature I'd love to see, but don't have time to implement myself: a "--free-slot" flag to 'wait' that will wait until there is at least one free "slot" available, where a slot is basically a CPU core. Example usage: $ for ((n=0; n<100; n++)); do my_experi