Re: end of file characters

2007-12-03 Thread Gary Johnson
On 2007-12-03, Ren Berber wrote: > Gary Johnson wrote: > [snip] > > Except that WordPad always writes CR-LF at the ends of lines, even > > if the original file had only LF line endings.[snip] > > "always" is not true, WordPad distinguishes between text and DOS text as > anybody can see in the fil

Re: end of file characters

2007-12-03 Thread René Berber
Gary Johnson wrote: [snip] > Except that WordPad always writes CR-LF at the ends of lines, even > if the original file had only LF line endings.[snip] "always" is not true, WordPad distinguishes between text and DOS text as anybody can see in the file types offered when using Save as... -- René

Re: end of file characters

2007-12-03 Thread Gary Johnson
On 2007-12-02, Peter Klavins wrote: > > Another question... When I'm editing a file that has the ^Ms do I > > leave them alone, or delete them? Will I be able to go back and forth > > and > > use vi via cygwin, and notepad/textpad via windows without harming the > > file? > > In general, you

Re: end of file characters

2007-12-02 Thread DePriest, Jason R.
On Dec 1, 2007 3:07 PM, Erik Weibust wrote: > I went with the defaults when installing cygwin. Which means I used > the recommended unix/binary line feed setting. It sounded like that > means I get no line-ending translation done by cygwin, which is fine. > > So I open a .bat file and see a bu

RE: end of file characters

2007-12-02 Thread Peter Klavins
> I went with the defaults when installing cygwin. Which means I used > the recommended unix/binary line feed setting. It sounded like that > means I get no line-ending translation done by cygwin, which is fine. > > So I open a .bat file and see a bunch of ^Ms at the end of each line. > Then