use BASH_VERSION, more compatible with older versions than --version