Re: path completion with cd - similar to tcsh

2011-04-19 Thread Chet Ramey
On 4/19/11 2:06 AM, Peter Toft wrote: > On Mon, 18 Apr 2011 20:12:24 -0400, Chet Ramey wrote: >> On 4/14/11 6:19 PM, Peter Toft wrote: >> >>> I have an annoying bash-problem on Red Hat Linux 5.x. If I e.g. try to move >>> to a subdirectory of another directory (e.g. $HOME), where the tab-expand >>>

Re: Segmentation fault after fc command in bash script

2011-04-19 Thread Chet Ramey
On 4/17/11 6:28 AM, pi...@piumalab.org wrote: > > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-

Re: heredocs incorrectly printed in for ((...)) loop

2011-04-19 Thread Chet Ramey
> seems to be just like the bug fixed in bash41-006, but with a diff for loop > style. simple example: Try the attached patch and let me know the results. It fixes this case and a couple of others. Chet *** ../bash-4.2-patched/print_cmd.c 2010-05-30 18:34:08.0 -0400 --- print_cmd