Bash Script Function With Parameters