#!/bin/sh # # This script prints out it's command line arguments, # one per line (using a foreach loop) echo I got $# arguments, and here they are: for i in $@; do echo param is $i; done