|
Home > Archive > alt.os.linux > November 2002 > text files windows->linux
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
text files windows->linux
|
|
| PhilipsYYY 2002-11-27, 2:24 pm |
| I copied some text files on a CD from windows (standard
CR-ROM format).
When I opened it under linux with emacs: sees
emacs know it's a DOS file (showing DOS on the left
bottom corner). I have no problem using them except
some makefiles.
Do I have to run dos2unix on these text files?
| |
| Paul Lutus 2002-11-27, 5:26 pm |
| On Wed, 27 Nov 2002 20:14:16 +0000, PhilipsYYY wrote:
> I copied some text files on a CD from windows (standard CR-ROM format).
> When I opened it under linux with emacs: sees emacs know it's a DOS file
> (showing DOS on the left bottom corner). I have no problem using them
> except some makefiles.
> Do I have to run dos2unix on these text files?
That depends on what you intend to do with them. What do you intend to do
with them? "Some text files" is not very specific.
--
Paul Lutus
www.arachnoid.com
| |
| PhilipsYYY 2002-11-28, 2:24 am |
| >Subject: Re: text files windows->linux
>From: "Paul Lutus" nospam@nosite.zzz
>Date: 11/27/02 4:54 Central Standard Time
>Message-id: <pan.2002.11.27.22.54.13.950653@nosite.zzz>
>
>On Wed, 27 Nov 2002 20:14:16 +0000, PhilipsYYY wrote:
>
>> I copied some text files on a CD from windows (standard CR-ROM format).
>> When I opened it under linux with emacs: sees emacs know it's a DOS file
>> (showing DOS on the left bottom corner). I have no problem using them
>> except some makefiles.
>> Do I have to run dos2unix on these text files?
>
>That depends on what you intend to do with them. What do you intend to do
>with them? "Some text files" is not very specific.
>
*.c *.h and makefiles mostly
>--
>Paul Lutus
>www.arachnoid.com
>
>
>
>
>
>
>
>
>
| |
| Paul Lutus 2002-11-28, 2:24 am |
| On Thu, 28 Nov 2002 07:50:52 +0000, PhilipsYYY wrote:
>>Subject: Re: text files windows->linux
>>From: "Paul Lutus" nospam@nosite.zzz
>>Date: 11/27/02 4:54 Central Standard Time
>>Message-id: <pan.2002.11.27.22.54.13.950653@nosite.zzz>
>>
>>On Wed, 27 Nov 2002 20:14:16 +0000, PhilipsYYY wrote:
>>
>>> I copied some text files on a CD from windows (standard CR-ROM format).
>>> When I opened it under linux with emacs: sees emacs know it's a DOS file
>>> (showing DOS on the left bottom corner). I have no problem using them
>>> except some makefiles.
>>> Do I have to run dos2unix on these text files?
>>
>>That depends on what you intend to do with them. What do you intend to do
>>with them? "Some text files" is not very specific.
>>
>
> *.c *.h and makefiles mostly
Okay, if you have problems with certain files, and if the problems can be
traced to the presence of the wrong sorts of line endings, then process
them using dos2unix.
--
Paul Lutus
www.arachnoid.com
|
|
|
|
|