I'm using tcsh for my shell. I disable core dumps by running "limit core 0". Running a program that crashes from my shell, I can see that indeed no core dump is generated.
Next I have a wrapper script written in sh (bash). When running this program through that wrapper script, the core file is generated again. At the top of the script I added "echo
ulimit -H -c", which causes "unlimited" to be displayed.
Why isn't be bash script inheriting the core dump limit from my C shell? What can I do so that it does inherit that setting? I'm using Redhat Enterprise 4 but I also see it on 5.