$ cat test.sh for i in $* do echo ==$i== done $ source test.sh one two three ==one== ==two== ==three==