RE: Making a program more robust with regard to line endings

2008-09-23 Thread Stewart Anderson
> See `perldoc -f binmode` and search for ":crlf" > > [Stewart Anderson] Or provide your operators with a means that enforces the transfer in the mode you actually want it? Then you don't have to do any changes to your own code, as long as you can trust the transfer method. Info

Re: Making a program more robust with regard to line endings

2008-09-23 Thread Mr. Shawn H. Corey
On Tue, 2008-09-23 at 10:01 -0400, Zembower, Kevin wrote: > Can anyone suggest a better solution? See `perldoc -f binmode` and search for ":crlf" -- Just my 0.0002 million dollars worth, Shawn Linux is obsolete. -- Andrew Tanenbaum -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Making a program more robust with regard to line endings

2008-09-23 Thread Raymond Wan
Hi Kevin, Zembower, Kevin wrote: I've written a program to process a text file. The input file is generated on a DOS computer and transferred to my Linux host. Most of the time, the operator remembers to transfer it BINARY and not ASCII, so that the DOS line endings are preserved. However,

Making a program more robust with regard to line endings

2008-09-23 Thread Zembower, Kevin
I've written a program to process a text file. The input file is generated on a DOS computer and transferred to my Linux host. Most of the time, the operator remembers to transfer it BINARY and not ASCII, so that the DOS line endings are preserved. However, occasionally, they forget, and the pro