Put "set -x" direct under "#!/bin/bash" in your script. This will show every command on stdout before it's executed. This will show you why the errors occur. HTH, Alex. -- "Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal." Instructions for use of this post: Insert tounge in cheek. Read as normal.
Attachment:
pgp00313.pgp
Description: PGP signature