Bash Global Variable In Function In Excel