List of background processes in a command group, in a pipeline, executed sequentially under certain conditions.

2011-10-01 Thread Dan Douglas
Hello, I ran across a behavior I don't quite understand while playing with redirecting process substitution's pipes. Specifically, it seems that a compound command containing a list of background jobs is affected by whether or not the compound command is part of a pipeline. Either the commands

Re: Bug: shell history loses lines beginning with # in a here-document

2011-10-01 Thread Chet Ramey
On 9/30/11 3:40 PM, Jonathan Wakely wrote: > Run these command: > > $ gcc -x c - < #include > int main() { printf("hi\n"); } > EOT > $ ./a.out > hi > > now use the up cursor (or "fc -2" or any equivalent) to return to the > gcc command, it has been > mangled to: > > gcc -x c - < EOT > > Th

Re: How to match regex in bash? (any character)

2011-10-01 Thread rogerx . oss
> On Thu, Sep 29, 2011 at 11:53:20PM -0800, Roger wrote: >> On Fri, Sep 30, 2011 at 06:20:32AM +, Stephane CHAZELAS wrote: >>2011-09-29, 13:52(-08), Roger: >>[...] >>> Since you're saying the regex description is found within either regex(3) or >>> regex(7), couldn't there be a brief note withi