Richard Gaskin wrote: > But FWIW, I tried your version and it seemed to leave the file > unchanged If your original file ends in a cr then Alex's code would end in absolutely no change. ;-) Aloha from Hawaii, Jim Bufalini