We have an ancien server (Fedora Core 4) installed in 2005. This server had never been updated. It runs a special software allowing to monitor a production line without being connected directly to the outside world.
It is out of question to upgrade the system.
Some utilities have bugs or missing options. Some other utilities are missing.
I have to install some script on this server. The main problem is Bash is really too old and lacks some usefull stuff. I don't like the idea to hack those well tested scripts.
Is there a way to run a newer Bash, and install new programs while letting the system untouched ?
Maybe something like BusyBox does ? Or within a chroot ? The problem of a chroot is the difficulty to access the real system. For example my backup script won't work.
3.0
shouldn't be difficult to target at all. It would be the same as targeting RHEL 5, which is still a very relevant OS. What shiny bash 4 features are you using? – jordanm May 12 '13 at 15:43(( foo++ ))
works in bash 3, and I don't know what array bugs you are talking about. It doesn't support associative arrays. What OS do your scripts target? – jordanm May 12 '13 at 16:15