If it is the ^M that you are trying to remove, I use this script to do it: #!/usr/bin/ksh # # This script will remover the ^M from the end of each # line in a file. # # USAGE: rm_M_char <filename> # if [ -f $1 ] then tr -d '\15' < $1 >newname mv newname $1 fi Hope this helps. Dennis Lund