What is the "correct" way of doing this? I know that functions are declared using "{", but I have not found any definitive for shell scripts.