#! /usr/bin/bash

## define function and use local to shadow environment variable
echo 'This is a shell script with a function'
HELLO=Hello 
function hello {
        local HELLO=World
        echo $HELLO
}
echo $HELLO
hello
echo $HELLO

