Update on parent exiting after background command substitution

2005-06-02 Thread jneuheisel
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/tmp/REMOVEME/LOCAL/share/locale

Parent shell sometimes exits after command substitution and back-grounding

2005-06-02 Thread jneuheisel
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/tmp/REMOVEME/LOCAL/share/locale

Re: can't cd to directory with backslash

2005-06-02 Thread P
Chet Ramey wrote: Chet Ramey wrote: Well I thought that also, but reproduced it in gnome-terminal and xterm with PS1=$. The only common denominator was bash, as tcsh didn't show the problem? Type `type -a cd' and see what it says. $ type -a cd cd is a shell builtin How about $PROMPT_CO

Re: can't cd to directory with backslash

2005-06-02 Thread Chet Ramey
> Chet Ramey wrote: > >>>Well I thought that also, but reproduced it in gnome-terminal and > >> > >>xterm with PS1=$. The only common denominator was bash, as tcsh > >>didn't show the problem? > > > > Type `type -a cd' and see what it says. > > $ type -a cd > cd is a shell builtin How about $PRO

Re: can't cd to directory with backslash

2005-06-02 Thread P
Chet Ramey wrote: Well I thought that also, but reproduced it in gnome-terminal and xterm with PS1=$. The only common denominator was bash, as tcsh didn't show the problem? Type `type -a cd' and see what it says. $ type -a cd cd is a shell builtin -- Pádraig Brady - http://www.pixelbeat.or

Re: can't cd to directory with backslash

2005-06-02 Thread Chet Ramey
> > Well I thought that also, but reproduced it in gnome-terminal and > xterm with PS1=$. The only common denominator was bash, as tcsh > didn't show the problem? Type `type -a cd' and see what it says. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere''

Re: can't cd to directory with backslash

2005-06-02 Thread P
Chet Ramey wrote: [EMAIL PROTECTED] wrote: $ rpm -q bash bash-3.0-17 $ mkdir -p 'blah\' $ cd 'blah\' #lock up here There's no bug here. The cd builtin completes successfully, and the shell goes to read another line from the terminal. My guess is that the backslash at the end of $PWD is me