#!/bin/bash for A in $@; do echo Arg A: $A done for A; do echo Arg B: $A done