Thanks
acid06. That wasn't exactly what I wanted to do, but I made my question vague (the actual script is more complicated than my example). However, your post broke my block and pointed me in the right direction. I've finished that part of the script using the inspiration from your suggestion. Thanks!
Thanks for the pointer
extremely. I'm using -w and do have "eq" in my actualy script but just transposed the wrong thing.
Thanks again,
eclecticIO
"Given the pace of technology, I propose we leave math to the machines and go play outside."
Calvin - Homicidal Psycho Jungle Cat