Re: Autodetect line endings in a text file...

2002-05-29 Thread Todd Wade
"Sumit Babu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello All, > > I will be getting the files from different platforms (i.e. Unix or > Windows). Is there a way i can automatically detect the line endings and > accordingly use the chomp function t

Re: Autodetect line endings in a text file...

2002-05-23 Thread drieux
On Thursday, May 23, 2002, at 08:37 , Timothy Johnson wrote: > Do you have to send the files back to their respective platforms? If not, > then I would suggest just changing all line endings to the line endings > that > your system uses. good point, and I think jonathan has also spoken well,

RE: Autodetect line endings in a text file...

2002-05-23 Thread Timothy Johnson
Do you have to send the files back to their respective platforms? If not, then I would suggest just changing all line endings to the line endings that your system uses. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 5/23/02 5:21 AM Subject: Autodetect line endin

Re: Autodetect line endings in a text file...

2002-05-23 Thread Jonathan E. Paton
> I will be getting the files from different platforms > (i.e. Unix or Windows). Is there a way I can automatically > detect the line endings and accordingly use the chomp > function to remove it. You need to remember Mac's have Yet Another Newline Sequence, which makes the whole exercise ra