Re: How to call a new bash function within a makefile

2005-11-14 Thread OnMyWayHome
Thanks for the post Paul. I may be remembering it incorrectly, but your post does help me. Thanks, Chris Paul D. Smith wrote: %% OnMyWayHome <[EMAIL PROTECTED]> writes: o> I don't have gnu.bash on my newsgroup server, so I'm posting this here. o> Here is an example GNU makefile: o> funct

pushd does not ignore -option after --

2005-11-14 Thread Ateeq A Altaf
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' -DLOCALEDIR='/usr/sha

Segfault in bash 3.0

2005-11-14 Thread Ben Cotterell
bash version 3.0 crashes with a segmentation fault when running this script: #!/bin/bash # Running this script crashes bash version 3.0 (and 2.05b.0(1)) function foo { local w local c c=([EMAIL PROTECTED] and stuff) echo [EMAIL PROTECTED] }