> > Likely $n9 is being expanded to something with a whitespace in it > and then being interpreted as multiple arguments, try: > > if [ "$n9" -ne 0 ]; then > You got it. the variable n9 is got by n9=`wc /tmp/$$.Z6 | cut -c1-7 }` changing that to n9=`wc /tmp/$$.Z6 | awk '{ print $1 }'` which works independent of field width fixed the problem. Thanks. -- Reg.Clemens reg@xxxxxxx