I've got some bash scripts that I compile with shc before running which was (and still is) working with RHEL / CentOS 5.
What happens is that on random occasions, when I run a compiled script, I get ...
...and when I fg it, I get...
Code:
test.sh Core Dumped
...all the other times, the script runs perfectly...
...this works fine 100% of the time on RHEL / CentOS 5 but only, say, 70% on 6.
Just wondering if there are shc alternatives for compiling bash, or if there is a fix for this problem.
Thanks