PDA

View Full Version : [SOLVED] DOS to Unix conversion



tonysonney
July 23rd, 2009, 03:11 PM
I was trying to build a system.But I had to copy it through a windows machine. But I can build it on Linux. But some people claim that code can be built on Linux. I was wondering whether the files in DOS text would make any difference as I am building in Linux?

keplerspeed
July 23rd, 2009, 03:23 PM
What exactly are you building, and how are you trying to do it?

wojox
July 23rd, 2009, 03:29 PM
dos2unix - cleans up end of line handling. Converts DOS text files to UNIX/Linux format.

There is also WinSCP.

http://winscp.net/eng/index.php

tonysonney
July 23rd, 2009, 03:54 PM
dos2unix command converted the dos files to unix format. So I think this thread is irrelevant any more. But does it really make any difference? I thought Linux would not bother whether the files are in DOS or UNIX format.

nikhilk
July 23rd, 2009, 04:01 PM
dos2unix command converted the dos files to unix format. So I think this thread is irrelevant any more. But does it really make any difference? I thought Linux would not bother whether the files are in DOS or UNIX format.

Technically, it is not Linux (the kernel) that bothers about the line endings but bulk of the Linux applications.