scripting

Not applicable

John,

One thing you will definitely need to do is to put double quotes around any
variable that has a value that contains spaces. So for instance, in your
example for kid_pix, you used double quotes when you assigned the value to
kid_pix, but not when you referenced it in your if statement. The if
statement will fail unless you change it to:

if [ -e '$kid_pix' ]; then

Not sure if that will entirely solve the problem, but it is probably part of
it. Be sure to use double quotes and not single quotes.

Charlie

++++++++++++++++++++

Date: Fri, 22 May 2009 12:37:58 -0400

0 REPLIES 0