You cannot do this in the way you have described. A script can only change variables in its own environment, which are then inherited by children, but leave parents unaffected. The closest you can get is this:
Code:
#!/bin/bash
export a=NEW_VALUE
Code:
$ source SCRIPT_ABOVE.sh
You can also use a single '.' (dot) as a shortcut for source, like so:
Code:
$ . SCRIPT_ABOVE.sh