Nested Functions Shell Scripts In Linux