Re: ^M problem in porting unix programs to window

2010-07-08 Thread ke...@ca
Please never mind. ctrl-M is caught. In fact, it lies in makefile. when the path is transferred to perl, ctrl-M is treated as a part of path name. ke...@ca wrote: > > Hi, there > > I am porting a unix project to windows via cygwin. make tool and perl > script are used. The perl script file is

^M problem in porting unix programs to window

2010-07-08 Thread ke...@ca
Hi, there I am porting a unix project to windows via cygwin. make tool and perl script are used. The perl script file is called in a makefile to create some directories and move some files. All directory names written in the makefile are edited by emacs under linux, as well as the makefile. So I