On Wed, Mar 25, 2009 at 3:35 AM, Eugene Pipko <eugene.pipko@xxxxxxxxxxxx> wrote: > Sorry one more thing: > I don’t always know the file name, so how do I check for the file in the > directory and pass that file into the sed command? ls -lrt will show you the last modified at the end of the listing. Two more ways of converting a dos file to unix file: 1. dos2unix dosfile (works for Redhat) 2. cat dosfile | col -b > unixfile Regards, NMK. -- //www.freelists.org/webpage/oracle-l