#!/bin/sh echo 'Loop on "$@":' for var in "$@" do echo "$var" done echo echo 'Loop on "$*":' for var in "$*" do echo "$var" done echo echo 'Loop on $@:' for var in $@ do echo "$var" done echo echo 'Loop on $*:' for var in $* do echo "$var" done echo