Thank you those who replied to my query and explained the source of Control-M. I also found this to work the following to work: find /directory -type f -exec perl -p -i -e 's/^M$//g' {} \; ^M is inserted via Control-V+Control-M --- Mike Li <mike__li@xxxxxxxxx> wrote: > HI: > Each line of text files transferred from windows to > *INX using scp/sftp contains Control-M characters. > It is a pain to run dos2unix utils when there are a > few hundred files. > I did not experience issue when using ftp to > transfer > files from windows to *INXs systems > Is there a switch or ssh_config configuration > setting > to suppress the Crontrol-M during transfer ? > Thank you > Mike > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs