in spawned processes, both $$ and $PPID are wrong

2007-04-10 Thread skt
Bash does not represent current pid and parent process-id correctly in spawned processes. The configuration information below is from a RedHat 9.0 system, but I have confirmed the problem still exists using bash version 3.1.17(1)-release on Fedora Core 6. Configuration Information [Automatically

bug in bash handling of PS1 prompt

2005-06-22 Thread skt
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: i386-redhat-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONF