The hint about bash2 was it. I changed it to #!/bin/bash2 and it works fine now. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 915-695-6962 ext 115