[bash] How to iterate over arguments in a Bash script