comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: checking if file is dos textfile or unix textfile ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: checking if file is dos textfile or unix textfile ? [message #38713 is a reply to message #38626] Sat, 20 March 2004 01:15 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Norbert Hahn wrote:

> Reimar Bauer <R.Bauer@fz-juelich.de> wrote:
>
>> You could read the file in binary and test if 10b is followed by 13b.
>> if this is true then it is a dos file.
>
> If I'm not mistaken the sequence is CR followed by LF.
>
> Norbert


you are right I am a long time ago have used DOS

Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Color table editor
Next Topic: STRETCH: A bug?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 04:30:54 PST 2025

Total time taken to generate the page: 1.44624 seconds