I have inherited some scripts where 'ulimit -c ' is set and 'set -o posix' and giving me as a result twice the value or half if I turn it off again. I see this on "Red Hat Enterprise Linux Server release 6.10 (Santiago)" and on "release 7.9 (Maipo)".
How to replicate:
[app@host] ~ $ ulimit -c
2048
[app@host] ~ $ set -o posix
[app@host] ~ $ ulimit -c
4096
Is it only a display issue? Why is this happening, can someone please explain. Regards