You have not understood the problem I was describing I think: things like POSIX or LSB do not solve it: if they did it would be trivial to port <awful mass of scripts> between platforms, and it is not, because <awful mass of scripts> will always rely on behaviour which is outwith the standard, whatever the standard may be. These standards solve the problem of making well-written code portable, but your bank is not held together by well-written code, unfortunately.