> Thanks. I found perl -e "print $NUM/10" worked too. :) that works too,,, i like (n)awk better in my ksh scripts then perl, less memory usage and faster too, but that is my own personal opnion - ls