On Wed, May 02, 2007 at 11:25:40AM -0700, pw wrote: That's what the "shift" is for. it shifts the positional arguments down by 1. > Thanks Noel, > > That looks a lot simpler. > Isn't $1 only the first command line argument though? > I'll try it out. > > Peter >