Please be aware about important behaviour change between bash version 4.3 and 4.4. You can observe it for example while migrating from Oracle Linux 7 to 8/CentOS 7 to Rocky Linux 8/etc. as version 7 of RHEL compatible system comes with bash 4.2, whereas version 8 with bash 4.4.